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

Ccx ccx at volny.cz
Tue Oct 11 01:50:19 PDT 2005


Sry, I've forget to add cc to mialing list

-------- Original Message --------
Subject: 	Re: [cairo] Re: Pycairo + PNG Output
Date: 	Tue, 11 Oct 2005 10:49:08 +0200
From: 	Ccx <ccx at volny.cz>
To: 	Niki Spahiev <niki.spahiev at gmail.com>
References: 	<434B6B1C.1030408 at volny.cz> <diftbk$n18$1 at sea.gmane.org>



Niki Spahiev wrote:

> Ccx wrote:
>
>> Hello, I'm going to use Pycairo for generating graphics on webserver.
>>
>> As far as I found out, Pycairo can be set to draw either to memory in a
>> raw data or to a png file, but not to a memory in png format which I
>> need.
>>
>> So I ask, is there way to do it with pycairo as it is or will it need
>> some reimplementation.
>
>
> There was discussion in this list about using cairo and PIL. PIL may
> give you PNG from cairo buffer.

I thought of using external library to encode the raw data but it looks
kinda silly to me when cairo has built-in encoder.




More information about the cairo mailing list