JPG - PNG conversion problem

Mark Borgerding mborgerding at
Sun Feb 1 19:25:04 CET 2004

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.

More information about the Python-list mailing list