[poppler] color inversion for a mask image

Leonard Rosenthol lrosenth at adobe.com
Thu Mar 29 04:44:37 PDT 2012


I can't speak to the Gfxstate, but there are keys in the image dictionary
(such as Decode) that relate to inversion.

Leonard

On 3/29/12 2:09 AM, "Ihar `Philips` Filipau" <thephilips at gmail.com> wrote:

>Hi All!
>
>I have encountered minor yet interesting problem. With the
>functionality I have recently added to pdftohtml, now also the mask
>images are extracted (as PNGs).
>
>In one document I have, one mask image is extracted with colors
>inverted: white is black, black is white. Yet, it is displayed by all
>the PDF viewers correctly.
>
>Is there any flag/etc in GfxState/etc which might be responsible for
>color inversion? the flag pdftohtml doesn't check yet?
>
>Thanks.
>_______________________________________________
>poppler mailing list
>poppler at lists.freedesktop.org
>http://lists.freedesktop.org/mailman/listinfo/poppler



More information about the poppler mailing list