[Poppler-bugs] [Bug 22138] Image quality worse compared to Adobe Reader

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 22 07:46:17 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=22138

--- Comment #15 from Stefan Talpalaru <stefantalpalaru at yahoo.com> 2012-08-22 14:46:17 UTC ---
My approach was to use imagemagick (actually Magick++, the C++ wrapper) to
scale all the bitmaps.

the good:
- optional dependency
- popular library, usually installed by default
- good resizing for soft masked images (using the "sample" method that doesn't
introduce new colors in order to avoid a black halo)
- excellent resizing for the rest of the images (using the "resize" method that
defaults to the Lanczos filter for upsizing). Now it's finally possible to read
PDFs with scanned book pages and comics in okular.

the bad:
- we're adding a new dependency
- the rendering is slower. 1.42 times slower in pdftoppm for Buschinski's
Uebung_DBV_Bildverbesserung_090320.pdf on my machine.

the ugly:
- I'm using a PNG intermediary when converting from SplashBitmap to
Magick::Image instead of a more straightforward conversion.

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