PIL question - saving JPEG

Christos TZOTZIOY Georgiou tzot at sil-tec.gr
Thu Oct 14 07:00:40 EDT 2004


On Sun, 10 Oct 2004 14:00:40 -0700, rumours say that "news.west.cox.net"
<sean.berry2 at cox.net> might have written:

>I have a fairly simple Python program that uses Image and ImageDraw to 
>create poll results on the fly.
>Because PIL only supports 256 colors for GIF and BMPs are huge (in 
>comparison)... I have opted to create JPEGs.

Another option is to use the PNG format, especially since you create
graphs.  PNGs have better quality and compression for this type of
images.
-- 
TZOTZIOY, I speak England very best,
"Tssss!" --Brad Pitt as Achilles in unprecedented Ancient Greek



More information about the Python-list mailing list