I open the tif then call
im = im.convert("L")
im = im.convert("P")
im.save("C:\\test\\test2.png","PNG")
To view the tif, I would generally use irfanview.
thanks,
andrew
Fredrik Lundh wrote:
On Mon, May 4, 2009 at 4:08 PM, Andrew <[email protected]> wrote:I've been having a problem with my tiff. When converting to a PNG or a JPEG the colors get messed up (black becomes white). I belive it has todo with the tiff being little endian. I noticed that in 1.1.7 the following was added to the change log. Added limited support for I;16L mode (explicit little endian). Would someone be able to assist me in utilizing this? I've installed 1.1.7 but am unsure of how to utilize this feature.Can you provide a sample in some way?? (you can mail it directly to me if you don't want everyone to have access to the file; I never redistribute sample files without permission). </F>
<<inline: test2.png>>
<<inline: test1.tif>>
_______________________________________________ Image-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/image-sig
