[Poppler-bugs] [Bug 32340] pdftohtml renders images vertically flipped

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Mar 10 06:05:13 PST 2012


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

--- Comment #2 from Ihar Filipau <thephilips at gmail.com> 2012-03-10 06:05:13 PST ---
I see in the development branch of the poppler, `pdftothml -xml` already
extracts some(*) of the images - and also saves the orientation:

: <image top="842" left="56" width="513" height="-782" src="left-1_1.jpg"/>

Note the negative height which denotes the presence of the vertical flip.

(*) It seems that the pdftohtml at the moment can't handle monochrome images.
In my case version of `pdftohtml -xml` from git has extracted all jpegs - but
the monochrome images used at chapter openings were not extracted. It looks to
me the monochrome images are painted via the HtmlOutputDev::drawImageMask()
which at the moment handles only the verbatim JPEGs.

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