SitePoint Sponsor |
|
User Tag List
Results 1 to 6 of 6
-
Nov 2, 2009, 04:45 #1
- Join Date
- Apr 2003
- Location
- spain
- Posts
- 283
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Compressing images - maintaining quality?
I saw this site http://bonterra.ca/food.php with apparently very compressed background image, but excellent quality. How is something like this possible? Thanks.
-
Nov 2, 2009, 05:46 #2
- Join Date
- Feb 2009
- Posts
- 5
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
hi her is my suggestion,
You will need to use Image Editing software such as Photoshop, Pixelmator, Inkscape, Fireworks, GIMP which contains a built-in feature that will compress your images.
Then there may not be a quality loss..
-
Nov 2, 2009, 07:07 #3
- Join Date
- Apr 2003
- Location
- spain
- Posts
- 283
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I use Gimp for compressing .jpg but there is always quality loss. But when I click properties on the background image of http://bonterra.ca/food.php it says the image is only 4209 bytes.
So I'm baffled....
-
Nov 3, 2009, 00:04 #4
- Join Date
- Feb 2009
- Location
- England, UK
- Posts
- 8,111
- Mentioned
- 0 Post(s)
- Tagged
- 1 Thread(s)
JPEG is a lossy format, if you want something which will have a decent level of compression with a lesser visible amount of loss, use PNG instead, it's a better all round format anyway, I just checked that website and it seems about right for the image, if you have a good editor you should be able to configure color usage and other options (which affect the file size). Other than that there's plenty of tutorials on compressing images to get the maximum squeeze out of it
-
Nov 3, 2009, 11:28 #5
- Join Date
- Apr 2003
- Location
- spain
- Posts
- 283
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
mmm...I have tried compressing png files in Gimp but they only seem to compress very little. I have one photo which is about 1.5mb. I would like to reduce the file size to 30 kb or less...
The jpg compression does work in Gimp, but there's too much quality loss.
-
Nov 3, 2009, 17:01 #6
- Join Date
- Jan 2009
- Location
- New Zealand
- Posts
- 679
- Mentioned
- 7 Post(s)
- Tagged
- 0 Thread(s)
It also depends on the content of the photo. You'll see that the image you refer to is a selective focus (ie background is purposely blurred), and also contains large areas of similar colour. Both these factors allow you to compress images more easily as the JPG format compresses information by chunking together colours that are similar in colour. With such large areas of similar colour and a blurred background they have more wiggle room than say a detailed photo that contains lots of different colours.
Bookmarks