Go Back   CodingForums.com > :: Client side development > Graphics and Multimedia discussions

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-19-2010, 03:40 AM   PM User | #1
BlackReef
Regular Coder

 
Join Date: Apr 2010
Posts: 188
Thanks: 96
Thanked 1 Time in 1 Post
BlackReef is an unknown quantity at this point
Optimizing images that look good but are low file size, help

Hello,

I am dealing with images that are 900x400, and they are on this site:

http://www.gem-tech.com

I've used the 'image optimizer' in Paint Shop Pro, and I have gotten most of them down to under 150kb / per image but the image quality is really suffering on some of them.

I notice on other sites though - that images that are roughly the same size are only about 90kb or so, and the image quality is great.

What is the key to keeping image quality but keeping the image quality down?

Thanks!
BlackReef is offline   Reply With Quote
Old 08-19-2010, 05:53 AM   PM User | #2
qwertyuiop
Regular Coder

 
Join Date: Jan 2004
Location: USA
Posts: 364
Thanks: 12
Thanked 6 Times in 6 Posts
qwertyuiop is an unknown quantity at this point
Well a lot of it depends on the image format, the main 3 being .jpg, .png, and .gif.

JPGs are typically used for photos; images with lots and lots of colors and complex color boundaries etc... They are lossy, meaning when you save, you will lose some quality and get artifacts (nasty looking pixely areas), but have pretty decent file sizes (though that depends on how much quality you're willing to sacrifice)

PNGs are usually used for computer graphics, such as gradients, icons, translucent/transparent images... They have really good file sizes for what I listed, for images, not so much. They are non-lossy, so you will not lose quality and get those artifacts.

GIFs are useful (and small) for simple images that don't have many colors, up to 256 I believe. PNGs can do everything GIFs can (except animation) and more (alpha transparency)

Your jpg images aren't that large (150kb), especially now in 2010, where lots of ppl have high speed internet, although compressing and optimizing images is always a good idea. So the "key" to keeping file size down is to use the proper image format and compress and sacrifice as little quality as you are willing.

The images that were around 90kb likely had lots of one color (sky etc...), whereas yours have lots of complex patterns (tree branches etc..) This image is only 70kb, which makes sense, as most of the image is a green sky and some black cave.

I think the compression gives your images a nice nitty gritty look anyway.

Hope that answered your question
__________________
Running Windows 7 x64

Last edited by qwertyuiop; 08-19-2010 at 05:55 AM..
qwertyuiop is offline   Reply With Quote
Users who have thanked qwertyuiop for this post:
BlackReef (08-19-2010)
Old 08-19-2010, 07:50 AM   PM User | #3
BlackReef
Regular Coder

 
Join Date: Apr 2010
Posts: 188
Thanks: 96
Thanked 1 Time in 1 Post
BlackReef is an unknown quantity at this point
Quote:
Originally Posted by qwertyuiop View Post
Well a lot of it depends on the image format, the main 3 being .jpg, .png, and .gif.

JPGs are typically used for photos; images with lots and lots of colors and complex color boundaries etc... They are lossy, meaning when you save, you will lose some quality and get artifacts (nasty looking pixely areas), but have pretty decent file sizes (though that depends on how much quality you're willing to sacrifice)

PNGs are usually used for computer graphics, such as gradients, icons, translucent/transparent images... They have really good file sizes for what I listed, for images, not so much. They are non-lossy, so you will not lose quality and get those artifacts.

GIFs are useful (and small) for simple images that don't have many colors, up to 256 I believe. PNGs can do everything GIFs can (except animation) and more (alpha transparency)

Your jpg images aren't that large (150kb), especially now in 2010, where lots of ppl have high speed internet, although compressing and optimizing images is always a good idea. So the "key" to keeping file size down is to use the proper image format and compress and sacrifice as little quality as you are willing.

The images that were around 90kb likely had lots of one color (sky etc...), whereas yours have lots of complex patterns (tree branches etc..) This image is only 70kb, which makes sense, as most of the image is a green sky and some black cave.

I think the compression gives your images a nice nitty gritty look anyway.

Hope that answered your question
wow, thank you very much for your response, very good information here.

So, what I think I am going to do is just try to optimize all the larger images (900x400) to 150kb or less, and I think we should be fine. I have a few images over 300kb, will play with them a bit.

Thank you again, you have been very helpful
BlackReef is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:12 AM.


Advertisement
Log in to turn off these ads.