Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I'm new to Visual Basic and have only been using computers for 2 years now. I'm trying to figure out how to make an animated Gif or Jpeg file. I've been told that it's very simple. I tried it and can not figure it out. Also, can it be done with VB.Net?

 

Thanks in advance

Posted
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..
qrt
  • *Experts*
Posted

You can't create an animated jpg, only an animated GIF. I would strongly suggest NOT trying to code this yourself unless you're 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, I'd suggest finding a utility to do it. I use Paint Shop Pro's Animation Studio (last copy I bought was around $80 for both PSP and the Animation Studio). I'd 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

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Posted

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.

  • *Experts*
Posted

Have you ever coded anything before? Are you very advanced? You'll either want a 3rd party control to help you, or you'll be coding a bunch of GIF headers by hand. That is very technical stuff and unless you're a pretty good programmer I wouldn't suggest even trying.

 

-Nerseus

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
  • Leaders
Posted

I'm 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.

"These Patriot playoff wins are like Ray Charles songs, Nantucket sunsets, and hot fudge sundaes. Each one is better than the last." - Dan Shaughnessy
Posted

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.net's system drawing framework supprts the animated tif files easier than animated GIF's

 

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

when the day is bad and life's a curse, cheer up tomorrow may be worse.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...