Jakob
Jakob

Reputation: 2005

32bit TIFF to another format in Python

I need to convert a 32 bit TIFF file (or the corresponding int32 array) to another format that Tkinter can display (like gif fe)

How do I do that? Converting the array to int16 or so completely blurs the picture...

Upvotes: 0

Views: 624

Answers (2)

the wolf
the wolf

Reputation: 35522

You can use PIL, Image Magick, or GraphicsMagick

GraphicsMagic and ImageMagick are command-line programs and have python versions. I use Graphics Magic because it is simple. ImageMagick is almost a command-line version of photoshop...

Upvotes: 0

Guðmundur Bjarni
Guðmundur Bjarni

Reputation: 4122

PIL is your best friend.

Upvotes: 2

Related Questions