[Poppler-bugs] [Bug 47186] New: pdftohtml: mask images are not extracted, unless they are JPEG

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Mar 10 07:59:56 PST 2012


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

             Bug #: 47186
           Summary: pdftohtml: mask images are not extracted, unless they
                    are JPEG
    Classification: Unclassified
           Product: poppler
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: pdftohtml
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: thephilips at gmail.com


Created attachment 58272
  --> https://bugs.freedesktop.org/attachment.cgi?id=58272
the patch

Mask images are not extracted, unless they are JPEG.

I have made a patch to extract the mask images as PNGs.

Patch is attached. Was generated by git-diff'ing on freshly cloned poppler
repository.

I have tested it on Debian Sid/AMD64 with several PDFs where I have observed
the problem.

Please review as I'm total n00b in the things PDF. If possible - commit.

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