2010/6/17 Reymer Antonio Vargas Solano <r...@fisica.ucr.ac.cr>: > Hello > > I trying to use the McIdasImagePlugin.py, We have a lot of old McIdas area > files on some disc, and we are trying to get information about the files. so > I'm trying to write an script get information about the files, for e.g the > original date, and the band of the image, but I need help, do you have the > "README" file of the plugin?? or some idea to get the information..
The module is part of the PIL library. Just open the files as usual, and inspect the image properties: >>> from PIL import Image >>> im = Image.open("some mcidas file") >>> print im.mode >>> print im.size >>> print im.info >>> im.save("copy.png") Note that it's a very basic reader; it only supports basic 8/16/32-bit images, and I don't think it extracts any metadata beyond pixel format and size. </F> _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig