Forum Moderators: phranque

Message Too Old, No Replies

struggling to get a jpeg file small enough

         

kirsty1973

11:36 am on Aug 9, 2003 (gmt 0)

10+ Year Member



I need to upload images to Amazon. File restrictions are 300 x 300 pixels, jpegs or gif, maximum 20kb. I'm really struggling to get some of them this low.

I'm scanning photos at 72dpi, at maximum 300 x 200 pixels as web images. The images that come in over 20kb, I've opened in photoshop and tried everything I can think of to get the files smaller. The worst thing is, if I do a file - save as - jpeg - and choose and very low compression (even 1), the file size actually increases from the original, even though no changes whatsover have been made to the image! Short of actually making the image dimensions smaller (which I don't really want to do), is there anything else I can do.

skipfactor

1:18 pm on Aug 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi kirsty1973 (good year),
Welcome to WebmasterWorld,

You should definitely be able to shrink a 300x300 jpg to less than 20k w/o too much effort. I'd try another program if Photoshop isn't giving you what you want in this situation. Fireworks does a great job in shrinking graphics to web-ready status.

martingj

1:32 pm on Aug 9, 2003 (gmt 0)

10+ Year Member



Hi,
it's been a while but photoshop keeps the original so you acn up and down size but it doesen't change the underlying data. If I remember corectly there is a wizard in PS that will allow you to create new jpg or gif actually reducing the data.
Alternatively scan google for picture reduction pgm
m

jbinbpt

2:05 pm on Aug 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try "Save for Web" in Photoshop

killroy

5:07 pm on Aug 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I only use photoshop for it's GIf compression, only "lossy" gif compression I've found yet.

For JPG compression I only use Xat IO these days, as it always gets better compression and quality out of the same image.

If I compare my sites with others relying on Photoshop compression only, I usually am at 50% or smaller file sizes with sharpoer and clearer images...

PS, I have nothing to do with this program, but I simply still cannot believe that not all webmasters use it.

SN

gph

12:58 am on Aug 10, 2003 (gmt 0)

10+ Year Member



Mods, I hope the links below are within the terms of service. I have no affiliation with these sites and software.

1) If VueScan supports your scanner, buy it. The program is amazing at getting colours spot on.

[hamrick.com...]

2) Forget 72dpi, it's a myth. The best thing to do is scan at your scanners maximum capabilities then down size. This tutorial lays out the basics.

[tashian.com...]

3) Learn how to use levels and curves. They sound difficult at first but are actually fairly easy to understand.

gph

5:10 am on Aug 10, 2003 (gmt 0)

10+ Year Member



I should have been more clear in the direction of my post above.

Not all of what I listed above will reduce the final file size. What I'm saying (in a round about way) is in order to produce consistently good images with a light foot print you need to establish a set of steps.

kirsty1973

5:50 am on Aug 10, 2003 (gmt 0)

10+ Year Member



Wow. Thanks all. Amazing response.
Skipfactor - I've downloaded a free trial of Fireworks and will look into this.
Martingj - I'll look into PS wizard for file reduction. Haven't found it yet!
jbinbbp - When I've tried 'save as web' I've only been able to save file as a gif, and because the files are photos, the quality is pretty rubbish (and not always a smaller file size than a jpeg). I may be doing something wrong though!
killney - I've downloaded a free trial of the xat program (Image optimizer) which seems pretty cool and very easy to use at first glance. Tried it on one picture and it easily reduced the file size quite dramatically. Thanks.
gph - I'm going to have a look at these sites today. Should be useful.

Again, thanks everybody.

tedster

5:58 am on Aug 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Photoshop 7's companion program, ImageReady (which you can access with "Save for the Web") really has great jpg compression algos. It's a huge improvement, even over version 6.

A couple tricks to get the file size down even more - before you save, take the image into L*a*b color space, select onyl the a channel, and do a very large Gaussian Blur (you can often get away with well over 3 pixels) Then do a similar blur on channel b. Now go back to RGB space and then Save for the Web.

If the GB causes colors to bleed at sharp color transitions, mask out those particular edges and just blur the rest of the image.

Those big, sweeping blurs help the compression algo by limiting the little color shifts that your eye can't see, but the algo still must cope with. And because you don't blur the L channel, you don't lose the detail.