[Poppler-bugs] [Bug 68239] Add support for more image format to pdfimages

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Aug 25 13:56:39 PDT 2013


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

--- Comment #11 from Adrian Johnson <ajohnson at redneon.com> ---
(In reply to comment #9)
> A few things:
>  * I'm not sure i understand "Change PNGWriter monochrome format to be 8
> pixels/byte", why we need it? Also is the change in pdftocairo there related?

Currently with TIFFWriter and PNGWriter using different formats for monochrome,
pdftocairo needs to check whether tiff or png is being used and adjust the
format of the data. By making them use the same format then after creating the
ImageWriter object they can both be used the same way without any special case
handling of the data. In addition, PDF uses the packed format for monochrome
images so by using this format the data can be copied from the stream to the
writer without needing to change the data format.

-- 
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/20130825/1d57d4bb/attachment.html>


More information about the Poppler-bugs mailing list