JPEG vs PNG

More like this

So, does scienceblogs only allow you to post things as jpegs?

it's sad that most of the subtlety of the joke was lost when converting the original PNG into a JPEG.

seo: I only intended to add subtly...

I tend to use jpg because it is better. Right?

Pretty simple decision, actually. Always save an original in a lossless format like TIFF, PNG, XCF, etc. GIF is lossless, but is only 8 bit color depth maximum.

JPG is wonderful for display of photographs as it compresses information using a lossy algorithm that allows smaller file sizes (thus reduced download time, and bandwidth usage) but loses information every time you convert/save it.

JPG compression also creates "artifacts" alongside what should be smooth lines or edges. This makes compressed JPG files unsuitable in most cases for line art, text, or large areas of a solid color.

For work, I generally use .png format, because I'm mostly dealing with screenshots of stress contour displays. OTOH, for a 2-color stick figure drawing, .png is pretty much overkill. Hell, I'd go with .gif for an image like that.

I use massive amounts of pictures in reports. I've experimented with many types of formats (for WinXp).
for 2 color BW the PNG is very useful and much better then JPEG in every way. For images(photos) PNG is slightly more efficient the zipped-TIFFs or zipped-BMPs but JPEG is best for the final report ONLY. The archive uses anything (usually PNG) other then JPEG. JPEG has a bad rap because it is mis-used to make small sizes. Under 50% is usually good looking, over 75% and it looks like crap. Under 256 colors do not JPEG above 256 colors then JPEG only for non-archive images.

I usually have to convert my eps files to PNG so that it can be used in certain inferior but popular software, displayed on screen, and printed half-decently. I use JPEG rather than PNG for photos though - primarily because of the smaller file size. If I really need a photo to look good it's going in as a TIFF.

The cartoon reminds me of a conversation a few years ago:

colleague: Why don't you just use 'Excel' (tm) to make your plots? Everyone else does!

me: OK, I'll send you a nice small file with only 700,000 points to plot and you send me a nice plot of it, ok?

Same goes for all my scientific data which is filed away in databases - "why not use Excel" ... and those people wonder why I laugh my ass off when I see them attempting to use Excel on data sets that are just far too large for it to handle.

By MadScientist (not verified) on 19 Nov 2009 #permalink

i have 65537 reasons why excel sucks for plotting.