[Image-SIG] IMAGE WEIGHT IN PIL

gerard coing gerard.coing at culture.gouv.fr
Tue Feb 17 04:37:09 EST 2004


HI
New to Python & PIL
I have to do image batch converting and resizing from TIFF to JPEG with 
a MAXIMUM WEIGHT (150 Ko) for the output.
Could someone tell me what is the syntax to get the weight of an output 
image and if there is another way than looping through the output until 
the desired weight is got.
Gerard Coing
photographie et multimedia
Drac de Lorraine
Service de l'Inventaire du Patrimoine
29 rue du Haut-Bourgeois
54000 Nancy
mél : gerard.coing at culture.gouv.fr
tél Nancy : 03 83 32 90 63
tél Metz : 03 87 56 41 19
tél portable : 06 84 96 66 33



More information about the Image-SIG mailing list