This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, July 4, 2005 6:39:38 AM(UTC)
Groups: Registered
Posts: 1
Hello,
In docimaging v13, any sample outthere showing how to create a multiple page .ico file?
I need to create a .ico file with the following format:
32x32 256 colors
48x48 256 colors
48x48 24 bits
64x64 24 bits
Thanks
#2
Posted
:
Sunday, July 10, 2005 11:46:22 AM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
Hello,
LEADTOOLS supports loading and saving ICO file formats as follows:
You can save this file format with width and height less than or equal 255-by-255 pixels. (Neither the width nor height can be greater than 255.)
You can load and save 1, 4, 8, 16, 24, and 32-bit, single-page or multi-page files.
Code Example:
If you are using LEADTOOLS OCX v13 programming interface, you can load a multi-page TIF file and save it to ICO file format as follows:
----------------------------
Private Sub Command1_Click ()
Dim i As Integer
LEAD1.Load "j:\images\fax1.tif", 0, 1, -1
For i = 0 To LEAD1.BitmapListCount - 1
LEAD1.BitmapListIndex = i
LEAD1.Size 16, 16, RESIZE_NORMAL
LEAD1.Save "c:\test.ico", FILE_WIN_ICO, 24, 2, SAVE_APPEND
Next i
End Sub
----------------------------
Thanks,
Maen Badwan
LEADTOOLS Technical Suppor
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.