Hi,
I use your DLL for a while on Windows 98 and it is really a good product (I use the release 1.90 with no problem for my usage).
My question is relative to the functions gflFileCreate, gflFileAddPicture and gflFileClose.
I have 2 icon files (.ico) and I want to create a single icon file containing these 2 icons.
First, I call gflFileCreate with the FormatIndex of the save_params structure filled with 20 (which is the format index for the .ico format).
I receive an error code "Bad format index" !
Why ?
Thanks for your help
P.S. The destination file doesn't exists before the call.
(Je suis Français mais ce forum étant tout en Anglais je poste en Anglais malgrè une maitrise aléatoire de la langue ...)
FileCreate + FileAddPicture
Moderators: XnTriq, helmut, xnview
-
- Author of XnView
- Posts: 44583
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: FileCreate + FileAddPicture
Currently gflFileCreate support only DCX/TIFF format.Patrick wrote:I use your DLL for a while on Windows 98 and it is really a good product (I use the release 1.90 with no problem for my usage).
My question is relative to the functions gflFileCreate, gflFileAddPicture and gflFileClose.
I have 2 icon files (.ico) and I want to create a single icon file containing these 2 icons.
First, I call gflFileCreate with the FormatIndex of the save_params structure filled with 20 (which is the format index for the .ico format).
I receive an error code "Bad format index" !
Why ?
Pierre.
-
- Author of XnView
- Posts: 44583
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France