[PYTHON IMAGE-SIG] Determining which formats are "loadable"
Fred L. Drake
fdrake@CNRI.Reston.Va.US
Tue, 11 Mar 1997 10:35:02 -0500 (EST)
I'd like to be able to check to see if an image format is loadable
before performing any operations on it, mainly so I can check for
alternative formats. If I have a MIME type, I can use Image.MIME
dictionary to get the format tag and then use Image.OPEN to determine
that a factory exists for the format, but that doesn't tell me that I
can actually load the data.
Is there a way to determine whether an image format is loadable
before I actually retrieve the image data?
Thanks!
-Fred
--
Fred L. Drake, Jr.
fdrake@cnri.reston.va.us
Corporation for National Research Initiatives
1895 Preston White Drive
Reston, VA 20191-5434
_______________
IMAGE-SIG - SIG on Image Processing with Python
send messages to: image-sig@python.org
administrivia to: image-sig-request@python.org
_______________