gif creator

Peter Pearson ppearson at nowhere.invalid
Tue Oct 7 17:17:38 CEST 2008


On Mon, 6 Oct 2008 08:18:14 -0700 (PDT), ccdetail at gmail.com wrote:
> has anyone written a gif creator program purely in python that doesn't
> require PIL or tons of other claptrap?

If you would be interested in an old and simpleminded Python
program for manipulating PNM files, contact me by email.
The comments include these lines:

# Usage:
#    import pnm
#    f = pnm.InputFile( "blooey.ppm" )
#    print f.width, f.height, f.maxval
#    for x in range( f.width ):
#      for y in range( f.height ):
#        doSomethingWith( f.readPixel )


-- 
To email me, substitute nowhere->spamcop, invalid->net.



More information about the Python-list mailing list