JPG - PNG conversion problem

Raaijmakers, Vincent (GE Infrastructure) Vincent.Raaijmakers at ge.com
Mon Feb 2 18:32:21 CET 2004


Yes I did.

image.depth = 8

But it didn't help, the 64k is the image file size having 256 colors.

Vincent

-----Original Message-----
From: python-list-bounces+vincent.raaijmakers=ge.com at python.org
[mailto:python-list-bounces+vincent.raaijmakers=ge.com at python.org]On
Behalf Of Mark Borgerding
Sent: Sunday, February 01, 2004 1:25 PM
To: python-list at python.org
Subject: Re: JPG - PNG conversion problem


Raaijmakers, Vincent (GE Infrastructure) wrote:
> Who can explain the huge increase in size when I convert a JPG into a PNG format using PythonMagick:
> I read the JPG from a video server and has a resolution of 352x240, size is about 15k
> After my PNG conversion and resizing the resolution to 160*120, the size is 64k!!


Is the output png a color palette image?  See if you can get acceptable 
results by limiting the color palette to 256 colors or so.

-- 
http://mail.python.org/mailman/listinfo/python-list




More information about the Python-list mailing list