[PyQt] How to display multi page TIFF with PyQt

michael h michaelkenth at gmail.com
Fri Dec 11 00:34:20 GMT 2015


On Thu, Dec 10, 2015 at 4:41 PM, Starglider Developer <
starglider.dev at gmail.com> wrote:

> I need to display a multi page tiff file with PyQt
> from the search in the internet they say that Qt doesn't support
> multi page TIFF.
> My code only shows the first page:
>
>
If as you say, Qt doesn't support it, you can use Pillow which supports
multipage tiff:

http://python-pillow.github.io/

There are some included utilities for interop with Qt as well:

https://github.com/python-pillow/Pillow/blob/master/PIL/ImageQt.py


- mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20151210/7b15ddf1/attachment-0001.html>


More information about the PyQt mailing list