tiff multipage view

Asked by zorki

In linux I find two gui application that can view multipage tiff files: evince and xnviewmp. The rest of hundred graphic viewers in linux do not do it. Maybe qpdfview could learn to do it.

Question information

Language:
English Edit question
Status:
Answered
For:
qpdfview Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Adam Reichold (adamreichold) said :
#1

Hello zorki,

qpdfview loads and displays images using Qt's built-in image support, so I guess whether this is practical depends on whether Qt's plug-ins support multi-page TIFF documents. For finding out and actually trying it, could you post a link to a sample file here? Thanks.

Best regards, Adam.

Revision history for this message
zorki (zorki) said :
#2

There are two files - big and small 10-page multipage tiff example for download.
Direct link:
http://www.nightprogrammer.org/wp-uploads/2013/02/multipage_tiff_example.tif
http://www.nightprogrammer.org/wp-uploads/2013/02/multipage_tif_example.tif
In Xubuntu 15.10 qpdfview can not open multipage tiff.

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.

Revision history for this message
zorki (zorki) said :
#4

Expired? Why? Links to example files is there.
Am I speeking with ubuntu bot?

Revision history for this message
zorki (zorki) said :
#5

Yes, I still need an answer.

Revision history for this message
Adam Reichold (adamreichold) said :
#6

Hello zorki,

sorry not updating the question's state after you posted the images. I have looked into this, but I found out so far is not very encouraging: Qt does not support multi-page TIFF. It does support animated GIF so has a mechanism to provide multiple frames within a single image container, but this does not apply to multi-page TIFF. qpdfview's image support is currently just a thin wrapper around Qt's image support.

So I see two options:
* Implement the necessary functions within qpdfview, e.g. using libtiff or a similar library. Personally, I don't it is worth the large amount of code and dependencies for a small project like qpdfview.
* Extend Qt's TIFF image format plug-in to use the existing multi-frame image handling methods to expose the multiple TIFF pages using the Qt API. I like this as it would immediately help all Qt-using applications, but of course creating a Qt patch will take quite a bit of effort and even then it is not clear if they want to take the extra code.

Best regards, Adam.

Revision history for this message
Adam Reichold (adamreichold) said :
#7

And yes, you were speaking with the Ubuntu bot. I did not expire the question manually without giving an answer, I just did not find the time to write up a proper answer with the above incomplete state of affairs.

Revision history for this message
zorki (zorki) said :
#8

Thanks for the detailed answer.
I do not like evince, it is large, it does not have any options, it does not understand the resolution of the screen and I can not see the actual size of a pdf.
I'm sorry that qpdfview will not be able to show multipage tiff.

Can you help with this problem?

Provide an answer of your own, or ask zorki for more information if necessary.

To post a message you must log in.