[Poppler-bugs] [Bug 31926] pdftops-0.15.2 -level1sep inverts the image mask polarity

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jan 9 13:40:50 PST 2011


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

--- Comment #19 from William Bader <williambader at hotmail.com> 2011-01-09 13:40:50 PST ---
>So instead of doing it right we are adding a random comment noone knows about saying "Hey, we tried but failed". Why?

I have an application that depends on converting PDF to separable Level 1 EPS,
and the EPS must print exactly the same way as the PDF.  poppler's pdftops is
the best way that I have found to do this.  pdftops runs quickly and produces
EPS that works well with my application.  The problem is that I have no control
over the incoming PDFs, and about 1 in 100 uses a color image mask in a way
that pdftops produces an incorrect EPS.  I need some way to detect that the EPS
is unusable.  I don't care if pdftops writes a mark in the file (like the
comment produced by the patch), or if pdftops returns an error status to the
shell, or if pdftops deletes the output file.  I just need to know that pdftops
wrote an unusable file so that my application can inform the user or can revert
to another less efficient method like rasterizing the PDF to a very high
resolution tiff and then converting the tiff to an EPS.

Of course, I would rather do it right, but I have not figured out how.
I submitted a patch to add support for Level 1 output from black and white
image masks https://bugs.freedesktop.org/show_bug.cgi?id=32365 but I have not
yet figured out how to generate Level 1 output from color image masks.

William

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