Now on ScienceBlogs: Oldest Human-Made Object in Space

ScienceBlogs Book Club: Inside the Outbreaks

Greg Laden's Blog

Evolution, Life Sciences, Science Education, Human Evolution, and Stuff

Darwing_Face.jpg Learn more about Charles Darwin and his work.

Hornbill170.jpg Looking for stuff about birds?

Lion_mane170.jpg Lean more about lions

Congo_sidebar.jpg An archaeological expedition to the Congo


The Skeptical Search Engine


Nature Blog Network
Climate Defense Fund


The contents of Greg Laden's Blog are copyrighted by Greg Laden.

Recent Comments

Search

Profile


Click on "About" for the big picture, and "Archives" for the details.


Recent Posts

Blogroll

If you don't see yourself on my blogroll, just drop me a line and let me know. I'll add you.*
*Assuming that I'm on your blogroll, of course!

Archives

« New way to back up files? | Main | LOL Texans! You banned all marriage, dudes! »

JPEG vs PNG

Posted on: November 19, 2009 8:00 PM, by Greg Laden

pngvsjpg.jpg

A zillion funny computer images are here.

Share on Facebook
Share on StumbleUpon
Share on Facebook

TrackBacks

TrackBack URL for this entry: http://scienceblogs.com/mt/pings/124751

Comments

1

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

Posted by: José | November 19, 2009 8:26 PM

2

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

Posted by: seo | November 19, 2009 8:37 PM

3

seo: I only intended to add subtly...

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

Posted by: Greg Laden | November 19, 2009 8:38 PM

4

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.

Posted by: Dan J | November 19, 2009 10:27 PM

5

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.

Posted by: HP | November 19, 2009 10:34 PM

6

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.

Posted by: CybrgnX | November 19, 2009 11:43 PM

7

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.

Posted by: MadScientist | November 20, 2009 5:04 AM

8

i have 65537 reasons why excel sucks for plotting.

Posted by: rob | November 20, 2009 10:03 AM

Post a Comment

(Email is required for authentication purposes only. On some blogs, comments are moderated for spam, so your comment may not appear immediately.)





ScienceBlogs

Search ScienceBlogs:

Go to:

Advertisement
Follow ScienceBlogs on Twitter

© 2006-2011 ScienceBlogs LLC. ScienceBlogs is a registered trademark of ScienceBlogs LLC. All rights reserved.