Steve Lake <steve.lake <at> raiden.net> writes:

> Yeah, I'm seeing that too.  Any ideas on how to do that?  

I just wrote a little program which
- examines a GIF animation and stores its size
- stores delay time, size, left offset, and top offset of each single picture
- calls gifasm to extract the single pictures
- calls giftopnm to convert them into PNM files
- creates one empty PNM according to the size of the GIF file
- copies the content of each single PNM file according to its offsets
  into the empty PNM file
- stops working if the delay time is much bigger then the previous ones
- saves the PNM file

After that I got a PNM file which looks exactly like the GIF animation
when it has finished to move. This PNM file can be passed to GOCR and
converted into plain text with good results.


Paul Lenz


Reply via email to