include a gif file as a resource file
-
Hi, Can I include a gif file in the resource file. If yes, how can I load it, loadbitmap(...)??? Also, how to retreive the palette used in order to support 256 colors. Thanks
yes. but don't. neither MFC nor Win32 supports GIF directly. even worse, if you want to use GIF code in your app (reading OR writing) you have to obtain a license from Unisys. many thousands of dollars... a better alternative is PNG - better compression, more flexible, free, well supported. here's a plug for my stuff, but there are plenty of places to find this kind of thing: http://www.smalleranimals.com/isource.htm -c
-
Hi, Can I include a gif file in the resource file. If yes, how can I load it, loadbitmap(...)??? Also, how to retreive the palette used in order to support 256 colors. Thanks
Hi, Surely you can include one of GIF format.. If you need draw it or .jpg file format, use OleLoadPicture().. You know IE can draw many image formats.. As you can see on this site... Deep inside, this API use IPicture interface... Anyway...If you need some sample, thead to this thead..:-) With best wishes, -Ryan
-
Hi, Surely you can include one of GIF format.. If you need draw it or .jpg file format, use OleLoadPicture().. You know IE can draw many image formats.. As you can see on this site... Deep inside, this API use IPicture interface... Anyway...If you need some sample, thead to this thead..:-) With best wishes, -Ryan