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

> Yeah, I'm seeing that too.  Any ideas on how to do that?  For now 
> I've been falling back on a procmail hack to toss all messages with 
> images embedded in the HTML of the message into their own folder.

I just wrote a little program which 
- examinates GIF animation files
- detects the left and top offsets and the delay times
- calls gifasm to extract the single pictures
- calls giftopnm to convert the single pictures
- creates one PNM file according to the global width and height
- copies all the extracted PNM pictures into the big file
  according to the detected offsets
- stops working when the delay time of the current picture is 
  much bigger than the previous delay times
- saves the big PNM file

This PNM file looks exactly like the animation after it has
finished moving, and can be passed to GOCR with a good result.


Paul Lenz


Reply via email to