[cairo] generation of inefficient postscript?

Adrian Johnson ajohnson at redneon.com
Tue Feb 12 03:22:06 PST 2008

Jeff Muizelaar wrote:
> On Tue, Feb 12, 2008 at 08:15:43AM +1030, Adrian Johnson wrote:
>> Jeff Muizelaar wrote:
>>> Poppler always gives cairo RGB24 data. Do the ps/pdf backends act
>>> differently if given A1 data? If they do poppler could probably be
>>> changed to give A1 data.
>> The PS/PDF backends both accept A1/A8 images but the end result is
>> always a color image. The PDF surface embeds a black image with the
>> A1/A8 data in the SMask. The PS surface blends the image over a white
>> RGB24 surface to eliminate the transparency.
> So to be clear, currently there is no advantage to using A1 data?

That's correct. Currently no advantage to using A1 data.

More information about the cairo mailing list