Text to image with same results on any platform

Gelonida N gelonida at gmail.com
Thu Aug 4 19:56:26 EDT 2011


Just FYI.

Thread continued in thread with the subject line
'PIL question. having exactly same font on multiple platforms'

I'm currently not pixel true, but images are sufficiently similiar.

On 08/03/2011 11:40 AM, Gelonida N wrote:
> Hi,
> 
> 
>>From within a django application
> I'd like create a small image file (e.g. .png)
> which just contains some text.
> 
> I wondered what library would be appropriate and would yield the same
> result independent of the OS (assuming the versions of the python
> libraries are the same)
> Images should be pixel identical independent on the platform on which
> the image is created.
> 
> I made some attempts with PIL (Image / ImageFont / ImageDraw),
> but have difficulties getting the same font under Linux and windows.
> 
> 






More information about the Python-list mailing list