[Poppler-bugs] [Bug 98537] New: pdftoppm -tiff -gray/-mono generates wrong image
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Nov 2 03:39:51 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=98537
Bug ID: 98537
Summary: pdftoppm -tiff -gray/-mono generates wrong image
Product: poppler
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: NEW
Severity: normal
Priority: medium
Component: utils
Assignee: poppler-bugs at lists.freedesktop.org
Reporter: ku at digitaldolphins.jp
Hi.
pdftoppm -tiff -gray generates horizontally 3x stretched image.
pdftoppm -tiff -mono generates a kind of messed up image.
TiffWriter::writePointers and
TiffWriter::writeRow seem to accept native rowData (1bpp and 8bpp) rather than
24bpp RGB pixel format.
I have fixed it by adding supportNativeMonoRowData to ImgWriter.
My commit/patch is here. This can be used to fix the problem! However the
branch pdftoppm-pdftotif also contains my extra stuff like -singletiff option.
https://github.com/HiraokaHyperTools/poppler_mirror/commit/6716c91ce2b84ad2b44745e4b5efafd9443fb675
kenjiuno
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20161102/ea9331e3/attachment.html>
More information about the Poppler-bugs
mailing list