Animated Gif

Irving Lugo

Member
Joined
Jul 1, 2003
Messages
5
Location
New York City
Im new to Visual Basic and have only been using computers for 2 years now. Im trying to figure out how to make an animated Gif or Jpeg file. Ive been told that its very simple. I tried it and can not figure it out. Also, can it be done with VB.Net?

Thanks in advance
 
You could try some software such as Correldraw. With it you can edit each frame of an animated gif as you want it, and give in the speed of frame changes..
 
You cant create an animated jpg, only an animated GIF. I would strongly suggest NOT trying to code this yourself unless youre a very good programmer. It would require building a GIF file by hand which means understanding the headers involved and how the bytes of the data work for the image.

You might be able to find a control that helps you with some of this. But, if you really just want to create an animated gif and not write a program that does it, Id suggest finding a utility to do it. I use Paint Shop Pros Animation Studio (last copy I bought was around $80 for both PSP and the Animation Studio). Id bet a dollar there are some free animated gif builders available if you search google. They normally work by having you add a bunch of individual gif files and then tweaking the speed of each frame and a few other parameters.

-Ner
 
Thank you both for the information. I would like to learn to code this myself. Can you tell me what is involved in doing this?
Can this be done in VB.Net?

I do use PSP and have created some animated GIFS. I would like to write a program myself however.

Thanks in advance.
 
Have you ever coded anything before? Are you very advanced? Youll either want a 3rd party control to help you, or youll be coding a bunch of GIF headers by hand. That is very technical stuff and unless youre a pretty good programmer I wouldnt suggest even trying.

-Nerseus
 
Im not sure what you mean by writing it with code, writting a program that can create/read/edit gif files, or a control to display them. Either way, this is not something that a beginner should even attempt. The problem is that it is very involved, either way.

Start with much easier things, like a Text Editor, then move on to more complex things to prepare yourself for what you will face.

Have a look at the specification: http://www.wotsit.org/download.asp?f=gif89a to see what it will involve just trying to read the file.
 
Irving Lugo,

I have some code samples to help you and some general info.

This URL is great for sample code for developing graphics in VB6
http://www.catenary.com/siteindx.html

This news group will be able to help you along:
news:microsoft.public.dotnet.framework.drawing

However, you may want to create animated TIFs rather than animated GIF files, because vb.nets system drawing framework supprts the animated tif files easier than animated GIFs

This knowledgebase artical will tell you how to work with a single GIF.
http://support.microsoft.com/default.aspx?scid=kb;en-us;319591

Things you should research include:
system.drawing:
EncoderValue.FrameDimensionPage

Good Luck
 
hmm

You could make a bad animated jpg i guess if you take alot of jpgs and time them to change using vbscript or javascript even. But the outcome is not very great and would be more productive to use a gif control. Peace.
 
Back
Top