开发者

32bit TIFF to another format in Python

开发者 https://www.devze.com 2023-04-09 23:58 出处:网络
I need to convert a 32 bit TIFF f开发者_如何学Cile (or the corresponding int32 array) to another format that Tkinter can display (like gif fe)

I need to convert a 32 bit TIFF f开发者_如何学Cile (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...


PIL is your best friend.


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...

0

精彩评论

暂无评论...
验证码 换一张
取 消