PDA

View Full Version : jpeg file sizes - I can't seem to make them small enough!



Lance B
23-04-2016, 10:48am
I can't seem to make my jpeg file sizes smaller than 1.4MB and these large files won't fit into the competition. Even though I make them 8bit and are 1200 on the longest side and save tham as "0" in jpeg options, they are still enidng up as huge file sizes, well over the limit for competitions here on AP. I know I must have a setting wrong somewhere, but I just can't seem to find what it is. Anyone got any ideas?

tandeejay
23-04-2016, 2:24pm
What application are you using to do the jpeg compression? I've seen one app that was atrocious at doing JPEG compression


Sent from my iPhone using Tapatalk

Gazza
23-04-2016, 2:54pm
Lance, go to Export→Save for the Web(Legacy) Keyboard shortcut..."Ctrl + Alt + Shift + S"
Type in 1200 (near the bottom r/hand side) on your longest side and click the image for it to take effect...
Adjust the 'Quality' top R/hand side until you're just under 400kb showing bottom left of the image


Hope that's what you were after...cheers.

ameerat42
23-04-2016, 3:16pm
I don't know what you're using to save, Lance.
In Photoshop, depending on what's in the file, a 1200 pixel side
at about 3:2 will go about 395KB at 10 compression level (12 being the highest).

Lance B
23-04-2016, 4:17pm
I don't know what you're using to save, Lance.
In Photoshop, depending on what's in the file, a 1200 pixel side
at about 3:2 will go about 395KB at 10 compression level (12 being the highest).

This is an "updated" Photoshop CC when I went to Windows 10. When I used to save in the pre Windows 10 Photoshop CC, I would get a file size abouit what you describe above, however, it seems as though I have also lost my "Save to Web" option, not that I ever used it as that strips off EXIF data.

Anyway, my workflow is: After converting to 8bit, I go to "File" - then "Save as" - then select jpeg, and save which then takes me to the "jpeg options box" which has the slider scale of small through to large file 0 through to 12 and even at 0 it is saving as a file which os 1.44MB! Very strange!

ameerat42
23-04-2016, 4:32pm
:eek::eek:KK! Sounds like a job for Super-Adobe! That is weird - ie, badly wired:nod:

Lance B
23-04-2016, 4:49pm
Just re-checked my jpeg options.

At "Maximum - 12" (large file) and set to "Baseline (Standard)" I get a file size of 2.18MB
At "Low - 0" (small file) and set to "Baseline (Standard)" I get a file size of 1.36MB - not 1.44MB that was for a setting of 4.

The other funny thing is that when I tick the "Preview" option in the "jpeg options box" to show the file size before saving, the "Maximum" file size actually shows 3.4MB but ends up being saved as "only" 2.18MB. Similar for the "Low" setting, it shows 2.6MB but actually "only" ends up being 1.36MB.

So, it is still making the files smaller when set to a lower setting, but they are still huge in comparison to what they used to be pre updated Photoshop CC.

Whatever the case, the files are way too large for some reason. :confused013

Warbler
23-04-2016, 5:33pm
I have also lost my "Save to Web" option, not that I ever used it as that strips off EXIF data.

Actually that is no longer true, and hasn't been since CS5 if I remember correctly Lance. There is now a series of options that you can check to keep EXIF or exclude it, or to just keep copyright inbfo. And you don't need to convert to 8-bit before saving as JPG anymore either.

ameerat42
23-04-2016, 7:56pm
Hey, Lance!! I just remembered something...

You know that when a jpeg is saved it is only compressed while residing on the drive.

Is this where you are reading the file sizes, or is it in a corner of the display when the
file is open in Photoshop? Have a look at the pic below...

The pic below...
125211

Lance B
23-04-2016, 10:35pm
When I click on the thumbnail on my hard drive, the image states the size, 1.36MB as I had saved it as the Lowest setting, or "0" and when I tried to save it here on AP for one of the competitions, it said the file was also 1.36MB and too large for the competition, which is 400KB max. So, the jpeg is definitely being saved as 1.36MB but why can I not make it smaller, like I used to be able to do in the previous version on Photoshop CC?

Mark L
23-04-2016, 10:54pm
I can't seem to make my jpeg file sizes smaller than 1.4MB ....

So once you've done that, can you then open that image and save again at another reduced file size? Might be a work around that still doesn't really answer the original problem.

Warbler
23-04-2016, 10:57pm
Lance, try this method. Use the "Save for Web" option. In the attached JPG, you'll see that you select the pixel dimension of 1200pixels on the long side. Then make sure you go and click in the other dimension box and you'll see the image actually change size. You need to have the "Optimised" image showing to see this. Under the pop-up box I have shown you, there are the options for the metadata. Set those however you want them. There is also a check box for converting to sRGB in case you forget. Now to optimise the image size to get under AP's limit, you click on the little triangle to the right of the very top far right-hand box, not the one right beside "unnamed", but the one on the extreme right beside the three lines, and up pops the dialogue box you see overlaid on my JPG. Put the size of the file you don't want to exceed. I usually go 5K under to be sure. When you do this, PS will size the image for you. Give it a try.

Lance B
23-04-2016, 11:19pm
Yes, I used to use "Save for Web" years ago, but it did use to strip meta data. However, I did recall that they changed this is later releases. I have since received an answer on Photoshop help forum:

Adobe, in it's "wisdom" has altered the way things are when you want to save a file in the new Photoshop CC. Previously with all Photoshop versions, to save a jpeg you went to "File" > "Save as", or "Save for Web", or "Save" - any of these options saved it how you wanted it saved, and then a further selection was to what type of file, ie jpeg, tiff, PSD etc. You then selected "Save" and then you had a selection box appear which then gave you the option of what quality you required which obviously gave you a file size - Low through medium to Maximum.

However, I have now found out that you now go to "File" > "Export" > "Export as" > which then gives you dialogue/selection box where you choose jpeg file size and "Quality". There was nothing about this anywhere. The thing is, it still has the option to do as I used to do, ie "File" > "Save as" > then the jpeg dialogue/selection box appears with the same old "Quality" file size as previous which anyone would think would work as previously did on previous versions! Oh no, this is too simple, they had to invent a new way to do the same thing but with different dfescriptors. I mean, why change it when it worked perfectly well before? And if you do change it, then why not remove the other options that lead you the same way as you used to do things.

Anyway, thank you all for your help. I seemed to have managed to get it sorted in the end.

Warbler
23-04-2016, 11:25pm
^ Ah the lovely little surprises of Photoshop CC eh? :D

Lance B
23-04-2016, 11:34pm
^ Ah the lovely little surprises of Photoshop CC eh? :D

Yes, the "lovely surprise". :confused013

The techy over at the Photoshop forum said: "The exporting experience introduced in June (2015 I assume) now delivers faster performance and better compression for all file formats, especially JPEG; the ability to export the same assets at multiple sizes; support for sRGB export; and options to embed metadata such as copyright into your files during export." which is all very well, but why not leave it as "File" > "Save as" > then go to the new dialogue box that they use in the new version rather than create a new path - "File" > "Export" > "Export as" then the new dialogue box set up? I mean, you wouldn't know to even look there without help, especially as the old way to do it was still available and thus you would think that it is still the same way to do things but then doesn't allow you complete control over the file size which is ludicrous. It is simply confusing!! :angry0:

Trevspics
24-04-2016, 1:42pm
I don't know if this had anything to do with your problems lance but I'll add to the confusion hoping to help in some way. I had problems trying to compress 20-30mb images down to 400kb it was bordering on ridiculous so I started using Flickr, was the only way I could upload images without compressing them so much they were not viewable. So are your original images so large that it's making compression a nightmare?

Lance B
24-04-2016, 2:09pm
I don't know if this had anything to do with your problems lance but I'll add to the confusion hoping to help in some way. I had problems trying to compress 20-30mb images down to 400kb it was bordering on ridiculous so I started using Flickr, was the only way I could upload images without compressing them so much they were not viewable. So are your original images so large that it's making compression a nightmare?

My original images are large, ~45MB RAW - 206MB 16bit TIFF. However, when I reduce them for web size view, ie 1500 x 1800 pixels say, and then convert them to jpeg 8 bit, they are much smaller, say around 2-4MB depending on how detailed they are. I can then easily (now) reduce them by reducing the quality slider in the jpeg options. Anyway, it all works now,

ameerat42
24-04-2016, 4:21pm
Trev. What do you mean? Compressing what? a jpeg that's 20-30MB, or a RAW that starts at about that size?
If the first, I'd agree that it would be hard to do, but if a raw (say even 40-45MB, such as I usually get and which
produces a best output jpeg of 14MB) is then reduced to 1200 pixels max on a side and it is a 3:2, then it is
doable with not too destructive compression. I have done this often enough.
...
(Some time since the last sentence.)
...

From a particular raw file just now:
Raw file size: 45.5 MB
Full size jpeg: 14.1 MB
1200x800 jpeg: 382 KB (saved at quality 9 in P'shop.

Whether this results in an optimally detailed file is another thing.

bobt
24-04-2016, 5:20pm
Personally, I'm old school. If I find something that works, I stick with it.

I ignore all the multiple re-sizing options and use a free little program that's easy, effective and just works - without any need to negotiate menus, use Photoshop or anything more complex than clicking with my mouse.

www.fookes.com/easy-thumbnails (http://www.fookes.com/easy-thumbnails)

Free, reliable, around for years - and it simply works.

Edit. For f****s sake ... the software here has censored the web address because it thinks it's a rude word!!!!

Look up EZ Thumbnails instead .... it's by a company whose name sounds like F**** but isn't !!!!

(Fixed - Kym)

ameerat42
24-04-2016, 5:24pm
...Free, reliable, around for years - and it simply works...

I'm sad to hear that, Bob (this sad :D). It means you miss out on pulling your hair and other forms of frustration.:(

MarkChap
24-04-2016, 8:08pm
I don't know,
I just did my old school way
Opened a file --> Resized via image size to 1200 pixels --> File Save As --> Selected JPG in the drop down box --> Quality 8
Resultant file size 146 Kb

ameerat42
24-04-2016, 8:09pm
I went to the same school, Mark.

Lance B
25-04-2016, 11:07am
Yep, and that used to work in the old Photoshop CC. However, when I uploaded the new Photoshop CC, even set to the lowest quality level of "0", it was still a 1.46MB file!!

The new version of Photoshop CC you go to "File" > "Export" > "Export as" and then save for jpeg similar to the old way, but it strips metadata. You have to go to "File" > "Save for Web" then you can adjust the quality to your desire and it keeps the metadata. Why the hell in their "wisdom" they needed change something that worked perfectly well previously, I'll never know.:confused013

Cage
25-04-2016, 11:50am
Very frustrating Lance. :hb:

I'm running W10 and the latest CC with current updates and I have noticed no changes.

To check I just did a 'Save' exercise with a 17MB RAW file, both the 'Save for web' way and the method I usually use, 'File >> Save As >>jpeg>> select jpeg size >>Save' and got no surprises.

Something strange going on Mate. If you'd like to post a snip of your 'Save for Web' box before you hit 'Save' I'll compare it with mine to see if there are any differences.

MarkChap
25-04-2016, 2:56pm
Lance,
I am using a Windows 10 Machine with all the latest updates to Photoshop and Lightroom,

And I did the exercise moments before posting last night



Yep, and that used to work in the old Photoshop CC. However, when I uploaded the new Photoshop CC, even set to the lowest quality level of "0", it was still a 1.46MB file!!

The new version of Photoshop CC you go to "File" > "Export" > "Export as" and then save for jpeg similar to the old way, but it strips metadata. You have to go to "File" > "Save for Web" then you can adjust the quality to your desire and it keeps the metadata. Why the hell in their "wisdom" they needed change something that worked perfectly well previously, I'll never know.:confused013

Trevspics
25-04-2016, 6:25pm
Trev. What do you mean? Compressing what? a jpeg that's 20-30MB, or a RAW that starts at about that size?
If the first, I'd agree that it would be hard to do, but if a raw (say even 40-45MB, such as I usually get and which
produces a best output jpeg of 14MB) is then reduced to 1200 pixels max on a side and it is a 3:2, then it is
doable with not too destructive compression. I have done this often enough.
...
(Some time since the last sentence.)
...

From a particular raw file just now:
Raw file size: 45.5 MB
Full size jpeg: 14.1 MB
1200x800 jpeg: 382 KB (saved at quality 9 in P'shop.

Whether this results in an optimally detailed file is another thing.

am I'm pretty sure that I'm not doing it the right way (uploading images to AP) and I'd love to know how to upload an image that has a reasonable amount of quality but what I meant was I have tried to reduce an image of around 24mb jpeg down to 1200 pixels max side and it was hardly viewable, I have done it in the past with smaller jpeg images with good success so was just under the impression that if the jpeg was much larger it would be more difficult to reduce its size without too much destruction. I might check out what bobt suggested and see if that works for large jpegs. Sorry Lance I didn't mean to push in on your thread.

Kym
25-04-2016, 6:27pm
There are two basic things that control file size of JPEG images... Pixels (w x h) and compression % setting.
(subtly the number of times saved/opened/re-saved also has an effect due to lossyness of JPEG)

See: http://www.ausphotography.net.au/forum/showlibrary.php?title=New_To_Photography:Learning_to_print_or_web_publish_photographs

ameerat42
25-04-2016, 6:50pm
I think you might be pushing it with 24MB, Trev. Mine are usually about 15MB (max).
And what I said in the last sentence above is quite often the go. - Fingers entwined!

And don't worry about "pushing in" on Lance's thread because your experience is relevant to
the discussion. (Now if you were to talk about giraffes:eek:...:D)

Mark L
25-04-2016, 7:33pm
..... but what I meant was I have tried to reduce an image of around 24mb jpeg down to 1200 pixels max side and it was hardly viewable, ......
Try doing it in stages. 24 to 18 to 12 to 6

ameerat42
25-04-2016, 7:35pm
You can certainly shrink them, but the Q might shrink even faster:eek:

MarkChap
25-04-2016, 7:37pm
You sure it is not just the zoom setting.
If your zoom setting in PS is at say 15%, which it may well be, to fit a large file on screen, when you resize the zoom amount stays the same.
So the view you get on the screen is just a very small image in the middle of the screen.
Adjust your zoom level back to 100% and you will have a larger view on screen



am I'm pretty sure that I'm not doing it the right way (uploading images to AP) and I'd love to know how to upload an image that has a reasonable amount of quality but what I meant was I have tried to reduce an image of around 24mb jpeg down to 1200 pixels max side and it was hardly viewable, I have done it in the past with smaller jpeg images with good success so was just under the impression that if the jpeg was much larger it would be more difficult to reduce its size without too much destruction. I might check out what bobt suggested and see if that works for large jpegs. Sorry Lance I didn't mean to push in on your thread.

Cage
25-04-2016, 7:59pm
When you resize an image in PS you have an option to change the PPI (Pixels per Inch)

I usually use 300, which I think is the default. If you change that to say 70, your image will shrink.

ameerat42
25-04-2016, 8:09pm
Kev. As long as you "Resample" the image, changing ANY one of the parameters: Pixels, Document Size, or PPI
will have the same effect.

- - - Updated - - -

OPS (Oh, PS): The "default" if you're loading an image is whatever is set in the image exif.
The default size for CS2 Photoshop is (a humble) 72 pixels/inch. You can change this in
Preferences.

Lance B
25-04-2016, 8:28pm
Very frustrating Lance. :hb:

I'm running W10 and the latest CC with current updates and I have noticed no changes.

To check I just did a 'Save' exercise with a 17MB RAW file, both the 'Save for web' way and the method I usually use, 'File >> Save As >>jpeg>> select jpeg size >>Save' and got no surprises.

Something strange going on Mate. If you'd like to post a snip of your 'Save for Web' box before you hit 'Save' I'll compare it with mine to see if there are any differences.

My previous CC had the latest updates but I was having other issues with saving TIFFs from Capture One Pro to Adobe Bridge and I thought it might have been Adobe Bridge that was playing up so, I uninstalled and tried to re-install Bridge but I had to re-install the complete Photoshop CC as well. That is when I got the complete new version of Photoshop CC - it is different to the updated version that I previously had and that is when the jpeg file size issue started.

Here is a screen shot:

http://www.pbase.com/lance_b/image/163076727/original.jpg

As you can see, I have set it to the lowest setting of "0" and it is still a 2.7MB file! However, it seems to be less than that when it actually saves. This is exactly how I used to do it on every previous version of Photoshop.

Cage
26-04-2016, 7:13am
Very strange Lance.

I tried to reproduce what was happening to you and the only way I could get close was by leaving the image at it's original size of 7360 x 4912.

All I can suggest is that in your iteration of CC CS6 there is a gliche in the image resizing tool. :confused013

Sorry I couldn't be more helpful as I'm sure you must be about to tear your hair out.

Lance B
26-04-2016, 9:42am
Very strange Lance.

I tried to reproduce what was happening to you and the only way I could get close was by leaving the image at it's original size of 7360 x 4912.

All I can suggest is that in your iteration of CC CS6 there is a gliche in the image resizing tool. :confused013

Sorry I couldn't be more helpful as I'm sure you must be about to tear your hair out.

It's now not a problem because I can go to "File" > "Export" > "Save for Web" and then I can adjust to what I require so, all is good. However, it's just that the old method worked fine and now it doesn't - why did they change it?

Anyway, thank you for your help and thoughts. Much appreciated. :)

Warbler
26-04-2016, 9:48am
... it's just that the old method worked fine and now it doesn't - why did they change it? ...

Haha! Exactly what I said when Microsoft changed the Office interface from Office 95's great layout. Change for change's sake.