views:

90

answers:

4

I'm working on a web application that will allow users to upload profile pictures (avatars, basically). These images will be no bigger than 100 x 100 pixels and will be pictures of peoples' faces.

We want to allow the user to upload various image formats, but we also want to convert them all to the same image format. What would be the best image format for size, quality, etc.?

Edit

In this case, size is more important than quality, but not by much.

A: 

Well, which is more important? Size or quality?

Rob
Size matters more than quality... but not by much more. <Insert your owns "size DOES matter" joke here>.
Chris Dwyer
+8  A: 
RichieHindle
No need to apologize. Though, I did get some interesting looks from people walking by my desk. :-)
Chris Dwyer
Take it to a private room guys. :)
kenny
+1  A: 

I think JPG is best for avatars, I cant find a need for transparency.

JPG will be ok for photographs and will be overdo for graphics, but it's not a huge size overhead for 100x100

Ahmed Khalaf
+1  A: 

With an image of such limited size, and considering the profile pictures will most likely be a natural image JPEG is most certainly the way to go.

PNG works great when handed a very repetitive pattern. Computer generated graphics like screenshots, gradients. There are a couple of filters that increase the effectiveness of the deflate, however due to the losless nature of PNG, you will almost never get similar compression ratio's on these kinds of images.

Yannick M.