[PYTHON IMAGE-SIG] Plans for PNG support?
Fredrik Lundh
fredrik_lundh@ivab.se
Tue, 12 Nov 1996 10:26:02 +0100
> Is anyone working on supporting PNG for at least "Load" capability?
> I see that "Open" is supported, but a web browser would really
> require at least "Load".
Since PNG is now a official W3O standard, I don't have much choice,
do I? :-)
Unfortunately, the current design of the "official" PNG libraries
doesn't support incremental decoding, but a "read from file handle
only" version would be rather trivial. I'll give that a try RSN.
While waiting, you could use something like:
im = im.open(file)
if im.format == "PNG":
size = im.size
im = im.open("Guido@30dpi.gif").resize(size)
Cheers /F
=================
IMAGE-SIG - SIG on Image Processing with Python
send messages to: image-sig@python.org
administrivia to: image-sig-request@python.org
=================