top | item 44300495

(no title)

MrDOS | 8 months ago

PNGs for line art and text, JPEGs for photorealistic images.

> When I came up in the IE era

In the IE era I recall, the battle was between GIF and JPEG because IE supported alphatransparent PNGs very poorly :)

> if I recall correctly JPEG as a format can encode an image with a higher fidelity than PNG

The other way around: JPEGs are “lossy” – they throw away visual information to save file size. PNGs, on the other hand, are “lossless”, and decode back to exactly the same pixels that were fed into the encoder.

discuss

order

no_wizard|8 months ago

It’s been so darn long since I looked into these formats I got it backward. Thank you!