From: au215@cleveland.Freenet.Edu (Stephen K. Mulrine)
Newsgroups: comp.sys.atari.st
Subject: fixgif.prg (was Re: GIF viewers and GIF89a)
Date: 27 Jan 1993 00:51:36 GMT
Organization: Case Western Reserve University, Cleveland, OH (USA)
Reply-To: au215@cleveland.Freenet.Edu (Stephen K. Mulrine)
NNTP-Posting-Host: hela.ins.cwru.edu


In a previous article, frank@jplpost.jpl.nasa.gov (Frank O'Donnell) says:
+From the faq for alt.binaries.pictures.utilities, I see some
+recommendations for Atari GIF viewers.  However, it does not make
+it clear whether these viewers will work with GIF89a files; on
+other platforms, many viewers bomb when trying to view a GIF89a
+file.  (The main thing about GIF89a is that the file contains an
+embedded caption in the form of a "comment extension block." 
+Files under the previous GIF87a standard just had the image.)

For anybody who was having trouble viewing GIF89a images, here's a little
program I put together a while back.  It converts 89a to 87a by stripping
the comment extension block and changing the header if necessary.  It's
all dialogue-box driven.

Apologies for posting a binary in a regular newsgroup, but it's only 3K
or so.
----CUT HERE------------snip--------8<------------
begin 0644 fixgif.arc
M&@A&25A'248N4%)'``#_0P@``),9(`#XE0L,```,8#0``'#`S<`!Y@8&@`$`
MD@,53U2T`4``1`L`#*"U`D!!(P`.!@`-C`!`!`!IC00$^@=I@#\705X`>-%`
MR)D?/``H<1+D&[^&`QB$`2"`T@1@`Q70&FI``U-M(WX25#3P@*$9/P,,7("'
M*9NH4LJ$(9.4CI`\6W4)R9&4#P@^26F)@`M``1^F?!@`&6C&P=``*O0""'!&
M!YC!`AB@A41@@:8S`^TI85N7#V0`[*(.1!"KZM6L6[L",&!@!E(`"X0-%>!`
M"1`S`U$I08M:UV5(`-[&G;N5@`1H2C"8T:<9``)'GK$.#CVT`#'!`LX(T8V:
M`._*S<D)!F!&Z$!)@@F+`.-M<MLS&!0W;/S8[T!&#(X,/D/`#3`P'HHCR);\
MIP#F`!30W5X!P/:/*"]0M@`Q.`&0!$]</%)<`AGT1Q2`!>C`P$`"P.8/,L4=
M,(Z%6J$F6@$<#$4`,#;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