[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] How to display multi page TIFF with PyQt
From: michael h <michaelkenth () gmail ! com>
Date: 2015-12-11 0:34:20
Message-ID: CAD0nt=F5zjEgtbKEi6nvpszOH3B+zZmHOpoceSWr8R4mX4K_=A () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
On Thu, Dec 10, 2015 at 4:41 PM, Starglider Developer <
starglider.dev@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
[Attachment #5 (text/html)]
<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec \
10, 2015 at 4:41 PM, Starglider Developer <span dir="ltr"><<a \
href="mailto:starglider.dev@gmail.com" \
target="_blank">starglider.dev@gmail.com</a>></span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div \
dir="ltr"><div><span><span>I need to display a multi page tiff file with PyQt \
<br>from the search in the internet they say that Qt doesn't support <br>multi \
page TIFF. <br>My code only shows the first page: \
<br><br></span></span></div></div></blockquote><div><br></div><div>If as you say, Qt \
doesn't support it, you can use Pillow which supports multipage \
tiff:</div><div><br></div><div><a \
href="http://python-pillow.github.io/">http://python-pillow.github.io/</a><br></div><div><br></div><div>There \
are some included utilities for interop with Qt as well:</div><div><br></div><div><a \
href="https://github.com/python-pillow/Pillow/blob/master/PIL/ImageQt.py">https://gith \
ub.com/python-pillow/Pillow/blob/master/PIL/ImageQt.py</a><br></div><div><br></div><div><br></div><div>- \
mike</div><div><br></div></div></div></div>
[Attachment #6 (text/plain)]
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic