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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Nov 18 15:51:16 PST 2012


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

--- Comment #23 from Stefan Talpalaru <stefantalpalaru at yahoo.com> ---
Even though it inherits from ImgWriter, MagickWriter does not write to a file.
Its only purpose is to facilitate the conversion to ImageMagick's data type for
use in Splash::bitmapToMagickImage() :

  writer = new MagickWriter();
  src->writeImgFile(writer, NULL, 0, 0);
  *dst = ((MagickWriter*)writer)->image;

This is how I was able to use writeImgFile() instead of duplicating the bitmap
type dependent logic for reading. The result is retrieved from the custom
"image" member of the MagickWriter object.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20121118/6a86108a/attachment.html>


More information about the Poppler-bugs mailing list