[Poppler-bugs] [Bug 52228] Dynamic Thumbnail support missing in qt4 Page::thumbnail()
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jul 19 07:08:27 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=52228
Albert Astals Cid <tsdgeos at terra.es> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |INVALID
--- Comment #3 from Albert Astals Cid <tsdgeos at terra.es> 2012-07-19 07:08:27 PDT ---
The documentation is clear, "Get the page thumbnail if it exists. \return a
QImage of the thumbnail, or a null image if the PDF does not contain one for
this page"
If that does not tell you it might fail returning a thumbnail, we'll there's
not much i can do to help you. Besides your solution is awful because
a) It renders the page at full resolution and then scales it down (SLOW!)
b) It hardcodes a resolution for non existing thumbnails (hardcoded is bad)
About breaking the api of the non public classes, yeah, we've millions of times
we will break its api as we like, it's easy to fix, don't use the non public
classes.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Poppler-bugs
mailing list