-
Nov 16th, 2008, 08:58 AM
#1
Thread Starter
PowerPoster
creating animated gifs in visual basic 6
is there possivel creating animated gif files in visual basic 6?
thanks
-
Nov 16th, 2008, 11:29 AM
#2
Re: creating animated gifs in visual basic 6
I think so. If you take a closer look, LaVolpe show you a way how to open an animated gif file. By modifying his code, you may be able to save it also. Just read more about the animated gif file construction!
This page may look interesting!
http://www.matthewflickinger.com/lab/whatsinagif/
Or this one:
http://en.wikipedia.org/wiki/GIF
-
Nov 16th, 2008, 11:47 AM
#3
Thread Starter
PowerPoster
Re: creating animated gifs in visual basic 6
Originally Posted by Jim Davis
thanks for these... realy thanks..
-
Nov 16th, 2008, 11:58 AM
#4
Re: creating animated gifs in visual basic 6
I also give you a tip. If you are about to extend your Sprite project, why dont you just create a custom format for your UserControl, there you can open the animated image in the way you can handle it easily.
You only have to develope a 'converter', that is opens a format like Animated Gif (or the newcomer formats just like APNG, MNG) then saves it to your custom animated format.
You also can store the Frames in your image with ZIP compression (almost like pngs), that is available in a small dll, you can use in VB6 as well.
http://www.zlib.net/zlib.html
Here is the DLL : http://www.zlib.net/zlib123-dll.zip
Last edited by Jim Davis; Nov 16th, 2008 at 12:03 PM.
-
Nov 16th, 2008, 12:24 PM
#5
Thread Starter
PowerPoster
Re: creating animated gifs in visual basic 6
Originally Posted by Jim Davis
I also give you a tip. If you are about to extend your Sprite project, why dont you just create a custom format for your UserControl, there you can open the animated image in the way you can handle it easily.
You only have to develope a 'converter', that is opens a format like Animated Gif (or the newcomer formats just like APNG, MNG) then saves it to your custom animated format.
You also can store the Frames in your image with ZIP compression (almost like pngs), that is available in a small dll, you can use in VB6 as well.
http://www.zlib.net/zlib.html
Here is the DLL : http://www.zlib.net/zlib123-dll.zip
its interesting building new formats, but not every programs can read it...
yes i wanted extend my project.... i'm update it for the version 3, but i need resolve 2 or 3 little problems... and otherthing: now my sprite control supports API functions(or some)...
honestly these way, for reading/write animated gif files is complex to me... but i will never give up...
thanks for help me
note: what you think about my sprite?
Last edited by joaquim; Nov 16th, 2008 at 12:30 PM.
-
Nov 16th, 2008, 01:18 PM
#6
Re: creating animated gifs in visual basic 6
Creating animated GIFs in VB is very possible, I and others have done it. An animated gif is simply a file that is formatted in a very specific way. It is somewhat complex. There are 2 major steps:
1. Design/Create each frame of the animated GIF. GIF frames cannot be more than 256 colors. This requires a graphics program, artistic creativity, and time.
2. Each frame is then appended to the Gif file/byte array. Obviously one has to know how a GIF frame is formatted in the file. These details are available on the web (i.e., wotsit.org). The compression algorithm to use is also available, I use it in my animated GIF viewer and other projects.
Though I never posted any complete GIF creation projects, a friend of mine did on PSC.com. You can look at his code here for manipulating individual gif frames, and a compression algorithm can be found here.
Last edited by LaVolpe; Nov 16th, 2008 at 01:25 PM.
-
Nov 16th, 2008, 01:33 PM
#7
Thread Starter
PowerPoster
Re: creating animated gifs in visual basic 6
Originally Posted by LaVolpe
Creating animated GIFs in VB is very possible, I and others have done it. An animated gif is simply a file that is formatted in a very specific way. It is somewhat complex. There are 2 major steps:
1. Design/Create each frame of the animated GIF. GIF frames cannot be more than 256 colors. This requires a graphics program, artistic creativity, and time.
2. Each frame is then appended to the Gif file/byte array. Obviously one has to know how a GIF frame is formatted in the file. These details are available on the web (i.e., wotsit.org). The compression algorithm to use is also available, I use it in my animated GIF viewer and other projects.
Though I never posted any complete GIF creation projects, a friend of mine did on PSC.com. You can look at his code here for manipulating individual gif frames, and a compression algorithm can be found here.
hi LaVolpe
thanks for everything my friend
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|