Click to See Complete Forum and Search --> : How to use GDI+ to save the pictures as an active GIF file?????
lzmlzm1
March 2nd, 2008, 07:13 AM
There are two or more pictures which are BMP files, I want change these
file into an active GIF files,each picture is the frame of the GIF.
I can not use GDI+ to program, anyone who can help me???????????
thank you!!!!!!!!!!!!!! (i only can save as the TIFF file.)
CBasicNet
March 2nd, 2008, 10:42 PM
I have not done it before, but I think it is the same as saving the TIFF file, it is just that you need to set the property item of PropertyTagFrameDelay (the delay between each frame).
lzmlzm1
March 2nd, 2008, 11:56 PM
I have not done it before, but I think it is the same as saving the TIFF file, it is just that you need to set the property item of PropertyTagFrameDelay (the delay between each frame).
Could you do it when you have time and show me the code, I am not very
clearly how to set the PropertyTagFrameDelay ? thank you!
There are some parameters only use in TIFF files, for example,
EncoderValue , it's enum member EncoderValueMultiFrame, it not use in GIF
files,I don't know how to set the parameters!
CBasicNet
March 3rd, 2008, 02:22 AM
Do you have any sample images for me to generate them into a gif? I need some images to test my code.
lzmlzm1
March 3rd, 2008, 02:43 AM
Do you have any sample images for me to generate them into a gif? I need some images to test my code.
I have and upload.
CBasicNet
March 3rd, 2008, 06:11 AM
Hi lzmlzm1, according to this FAQ item below, it is impossible to save to an animated GIF using GDI+. I guess you have to use other image libraries.
http://www.bobpowell.net/animated_GIF.htm
lzmlzm1
March 3rd, 2008, 07:21 AM
Hi lzmlzm1, according to this FAQ item below, it is impossible to save to an animated GIF using GDI+. I guess you have to use other image libraries.
http://www.bobpowell.net/animated_GIF.htm
I got it. which image library should I use,??? could you give me some
suggestions.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.