• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Saving smallest JPG possible with Photoshop

Engaged ,
Jun 22, 2018 Jun 22, 2018

Copy link to clipboard

Copied

I wanted to know what the best way to save a JPG to be very small and still keep its quality as much as possible. i have 1200x1200 psd files that when i save them while keeping quality the jpg is around 500kb. I used to save them as JPG 10 which is maximum and changed it to 5 that is medium, i think anything less than that and the quality is bad. is there any third party software that shrinks? preferably as a Photoshop plugin like JPEGmini Pro and tinyPNG promise they do, script or action or any other Photoshop method to shrink it?

 

any help will be appreciated, thank you.

TOPICS
Windows

Views

15.9K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Jun 22, 2018 Jun 22, 2018

Copy link to clipboard

Copied

The compression of a jpeg depends very much on the content, so it's impossible to say how well your 1200 x 1200 pixel image should compress. A file size of 500 KB does not sound excessively small, however. Make sure you strip all metadata, they can take a bit of space too.

-- Johan W. Elzenga

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 22, 2018 Jun 22, 2018

Copy link to clipboard

Copied

500kB still seems a bit high. Try Save For Web or Export, which will strip any metadata that may bloat file size. At the same time you can preview quality directly as you try to push the slider down as far as possible.

Jpeg compression depends entirely on image content. Lots of high frequency detail will compress less effectively and result in a big file.

Two images at 1200x1200, saved through SFW at quality 50. The first is 367 kB, the second 58 kB:

testsize1.jpg

testsize2.jpg

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 22, 2018 Jun 22, 2018

Copy link to clipboard

Copied

That's a very convincing demonstration of how JPG compression works Dag, and I love that the second image also has a boat.  Was the first picture taken local to you?  Looking at the angle of the rock faces either size, and the size of the boats, that water must be fairly deep, but it is so clear. 

We have a famously clear pool called Pupu Springs near Takaka in Golden Bay.  This will have been taken a while back as they don't allow diving there any more for fear of didymo contamination​ which is a nasty slimy weed otherwise known as rock-snot (sorry to anyone readying this while eating )

Anyway, your waterway above is right up there with the springs, and I'm not sure that Greenpeace are going to have much impact out of that little orange Rib.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 22, 2018 Jun 22, 2018

Copy link to clipboard

Copied

Trevor.Dennis  wrote

Was the first picture taken local to you?  Looking at the angle of the rock faces either size, and the size of the boats, that water must be fairly deep, but it is so clear.

The magic trick of polarizers Happily the angle to the sun was just right. This is on an island off the western coast of Norway. I know you have fjords in NZ, but the word is Norwegian...

The shot was taken from a bridge crossing a narrow sound, and the water is actually quite shallow. I was driving past and hit the brake fast when I saw this. I couldn't believe how those boats even got in there.

Beautiful underwater shot from the pool. They have something similar up in Iceland - a lot of movie underwater scenes are shot there because the water is so clear.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Jun 22, 2018 Jun 22, 2018

Copy link to clipboard

Copied

In this particular case an indexed PNG with a transparent background would probably be your best bet, because the patterns are so intricate, while the colour range is limited.

Here is a quick test done in ColorQuantizer (background removed and image cropped):

test.png

Result is 182kb. I used the mask tool in Color Quantizer to mask the important (little used) flowers to prevent those colours from being thrown away. There's no better PNG optimization tool (and it's free!).

Color quantizer

But again, it very much depends on the subject. I also got good results outputting to a jpg with chroma subsampling set to none (4:4:4) and 85% quality in RIOT. Unfortunately, Photoshop doesn't allow the user to control the chroma subsampling separately, which would be a boon in this case. I got it down to around 140kb with a tiny bit of noise/fringe around the edges while still keeping the intricate patterns intact.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 22, 2018 Jun 22, 2018

Copy link to clipboard

Copied

That's interesting.  The rug is right at the top end of difficult images to compress with JPG, so I was not surprised at the OP's stated file size issue. 

Wikipedia has an excellent page on JPG but it goes _way_ beyond what I would want to try to understand.

JPEG - Wikipedia

Suffice to say that as the quality reduces, the grid size JPG uses to average pixel colour, increases, so at minimum quality, the image becomes blocky.

They will have used outrageous settings to demonstrate the above examples, as saving the highest quality block using Photoshop's lowest quality setting, doesn't come close to the quality loss in the Wikipedia example, but the colour of the leaves still eats into the sharp edge of the grey concrete block.  I am sure they used the angled block as a worst case example for that reason.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jun 23, 2018 Jun 23, 2018

Copy link to clipboard

Copied

the thing is i have thousands of these rugs, i'm using a lot of actions/script to burn them on a white background, and i wish in some point to fully automate it, would it be possible to do the great things you mentioned automatically and not manually?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jun 22, 2018 Jun 22, 2018

Copy link to clipboard

Copied

I like use external jpeg compression services like JPEGMini or have a look of what google suggest to have the best optimization for online images Image Optimization  |  Web Fundamentals  |  Google Developers

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 22, 2018 Jun 22, 2018

Copy link to clipboard

Copied

There are several tricks to save images for the web besides, well, using the "Save for Web" Export 😄

#1 Blur the details:

Very fine detailed structures within the image are a compression killer. In some cases it makes sense to use a selective blur to blur out the fine details which nobody sees and to keep contours. More smooth areas = better compression

#2 Increase the image dimensions

So this sounds crazy but it's true, sometimes you could get a better result by increasing the imagesize and saving it with a higher compression. e.g. the image is embedded with 1200px in your website, save it with 2400px but with a higher compressionrate (Quality: 5-10 or so). It might look better in the end compared to and 1200px image where you have to set the Quality to 50-60 to get an acceptable result and you support 4k devices too 😉

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jun 22, 2018 Jun 22, 2018

Copy link to clipboard

Copied

to be more clear about the psd file i have a background layer, layer with a carpet, and watermark layer.

this image needs to go toa website - online store.

maybe i should be using PNG instead of JPG?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 22, 2018 Jun 22, 2018

Copy link to clipboard

Copied

I don't see the problem here. The image in your screenshot is 800 x 800 pixels. If I cut it out of the screenshot and save it with jpeg-compression 8, the file size is 157 KB. That means that a 1200 x 1200 pixel version of this image should save well below 500 KB at the same compression.

-- Johan W. Elzenga

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jun 22, 2018 Jun 22, 2018

Copy link to clipboard

Copied

I will google "jpeg-compression 8" also, but maybe you know what are the consequences to jpeg-compression 8?

lossless colors?

picture quality/colors affected?

will be viewed normally in all media like smartphones? etc.

this is important to know before because these carpets are used in an online shop, a mistake or something like that which will require uploading the same pictures again is something i really should avoid

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 22, 2018 Jun 22, 2018

Copy link to clipboard

Copied

AG_Ps_100  wrote

I will google "jpeg-compression 8" also, but maybe you know what are the consequences to jpeg-compression 8?

lossless colors?

picture quality/colors affected?

will be viewed normally in all media like smartphones? etc.

this is important to know before because these carpets are used in an online shop, a mistake or something like that which will require uploading the same pictures again is something i really should avoid

The proof of the pudding is in the eating. Don’t Google for it, simply try it yourself and see if you think the quality is acceptable.

-- Johan W. Elzenga

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jun 23, 2018 Jun 23, 2018

Copy link to clipboard

Copied

I chose even quality 5 that was good for me, it used to be 10.

so a lot of space saved already.

but i'm thinking why stop there, maybe use more tools like tinyPNG and JPEGmini to further compress the file without having to give up on the quality

what do you think?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 23, 2018 Jun 23, 2018

Copy link to clipboard

Copied

LATEST

AG_Ps_100  wrote

I chose even quality 5 that was good for me, it used to be 10.

so a lot of space saved already.

but i'm thinking why stop there, maybe use more tools like tinyPNG and JPEGmini to further compress the file without having to give up on the quality

what do you think?

That’s up to you entirely. I cannot say if the extra work is worth it. Only you can.

-- Johan W. Elzenga

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jun 22, 2018 Jun 22, 2018

Copy link to clipboard

Copied

Try tinypng

They have a Photoshop extension for both PNG and JPEG files.

We compress all images with this before putting them onto our website

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jun 23, 2018 Jun 23, 2018

Copy link to clipboard

Copied

I have a NEF file, i save it as PSD + JPG (Quality = 5) + another JPG (Quality = 5) after hiding the watermark

I want the 2 JPG files i saved to be compressed by tinyPNG, i think that i don't even need a JPG file in the first place to compress and i can save a JPG from a PSD file. that is written on their website:

so to sum up i need PSD + 2 compressed/saved JPG by tinyPNG

you think it is possible?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines