[Poppler-bugs] [Bug 29551] New: pdftohtml utility in complex mode creates background PNGs with insufficient resolution

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 12 23:50:25 PDT 2010


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

           Summary: pdftohtml utility in complex mode creates background
                    PNGs with insufficient resolution
           Product: poppler
           Version: unspecified
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: fuzzybr80 at gmail.com


Created an attachment (id=37832)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=37832)
Sample PDF

We invoke the pdftohtml utility in complex mode.

pdftohtml -c -noframes [input pdf] [output html]

which creates a backgroung PNG for each PDF page that includes the graphics in
that page. When using pdftohtml (from pdftohtml.sourceforge.net), the
resolution of the PNG is 1785x2526 pixels.

When usng poppler-utils, each background image (PNG) is 594x843 resolution.

This makes the resultant HTML's images look really pixellated.

Can the resolution be fixed or set as an option somewhere.

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