[Fwd: Re: [cairo] Re: Pycairo + PNG Output]

Vladimir Vukicevic vladimirv at gmail.com
Tue Oct 11 12:44:22 PDT 2005


On 10/11/05, Ccx <ccx at volny.cz> wrote:
>
> I thought of using external library to encode the raw data but it looks
> kinda silly to me when cairo has built-in encoder.

Cairo's built-in encoder is just libpng, which is I assume the same
thing that PIL does.  There is no way to "draw to a png surface"; any
png encoding has to be done as the final step.  Doing it through PIL
should be just as efficient as doing it through cairo directly.

    - Vlad


More information about the cairo mailing list