[Lazarus] PNG vs. JPG
Jürgen Hestermann
juergen.hestermann at gmx.de
Mon Jan 3 14:46:19 CET 2011
Bo Berglund schrieb:
> PNG is non-loss and also compresses the data much better (for a typical
> screenshot) so the resulting file is smaller too...
Why should a loss-less compression compress better than a a lossy
compression?
In general this is not true, just the opposite. But you are right that
for screenshots
PNG is much better because it was optimized for computer generated pictures
(like screenshots). JPG was made for photos and reduces their size
dramatically
because it takes into account human picture recognition. If you have
photos (made by
a camera) you will always get the best results with JPG.
More information about the Lazarus
mailing list