Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GIF89a File Format
#3
(03-02-2025, 12:12 PM)Petr Wrote: First thing I'll tell you about this. If @SMcNeill hadn't left the default program and his program for SaveGif in his thread, I would have ended up with an uncompressed version. Thank God Steve published his work with comments! That's the only reason I got further! It's possible that there will still be a bug in my program (which I can't find), but the comment in the SaveGif thread says: Some decoders will crash if you leave too many comments in the dictionary! And that was the main reason! This comment made this program work. Compression is really happening now, probably not as high as it could be, but the program works. Of course, this is the first version, more work will still be done on it, at least in the direction that the number of frames in the file will be calculated differently than according to fixed parameters (according to the size of the input field).

I'm publishing this version as it is because the next versions will be even more complicated and so I assume that people will be better oriented in this version.

This version is currently limited to 256 color images, GIF uses a global palette (in this version!) and therefore all images must have the same palette, otherwise they will be displayed painted in a different color. Of course, all input images must have the same width and height. In this version, the input parameters of the images are not monitored, so it will easily lead to a program crash if you do not respect these conditions.

I will continue to work on the program.

... {code}

Don't know WTH all this is about but:

+1 I encourage this! Animated GIF's Yeah!
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply


Messages In This Thread
GIF89a File Format - by Petr - 03-02-2025, 12:12 PM
RE: GIF89a File Format - by SMcNeill - 03-02-2025, 12:43 PM
RE: GIF89a File Format - by bplus - 03-02-2025, 12:49 PM
RE: GIF89a File Format - by a740g - 03-03-2025, 04:05 PM
RE: GIF89a File Format - by Petr - 03-03-2025, 05:27 PM
RE: GIF89a File Format - by Petr - 03-03-2025, 06:31 PM
RE: GIF89a File Format - by a740g - 03-04-2025, 01:20 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  APNG File Format Petr 5 565 11-20-2025, 02:32 PM
Last Post: ahenry3068
  AVI file format Petr 18 3,284 08-03-2025, 01:03 AM
Last Post: madscijr
  PCX file format Petr 13 3,433 03-01-2025, 10:52 PM
Last Post: Petr
  BMP File format Petr 8 1,775 02-23-2025, 07:54 PM
Last Post: Petr

Forum Jump:


Users browsing this thread: 1 Guest(s)