Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Image Manipulation to shrink JPEG file size.

Posted on 2011-03-15
Medium Priority
Last Modified: 2012-06-21

I have an image, the dimensions must stay the same i.e. X x Y pixels.

Now I know when saving a JPEG I can lower the quality option which will result in a smaller file size.

Is there anything else I can do to reduce the file size while maintaining the same physical size?


Question by:Dale Burrell
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +1
LVL 12

Expert Comment

ID: 35136517
make it black and white
LVL 12

Expert Comment

ID: 35136519
decrease the number of colors used (bits per color)
LVL 21

Author Comment

by:Dale Burrell
ID: 35136528
OK, I want to keep it in colour, what would I do in photoshop for example to reduce the colours?
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

LVL 12

Expert Comment

ID: 35136557
use irfanview (free)
Image -> decrease color depth

Expert Comment

ID: 35136908
i'm using Yahoo! Smush.it for my image compression needs. i find it very easy to compress my files & you could even see the percentage that you saved after the compression. the site is super easy to use and it uses a superb optimization technique to remove unnecessary bytes from your images and it even zip your file after compression so you can download it back fast.
LVL 32

Accepted Solution

aleghart earned 2000 total points
ID: 35143472
File > Save for web and devices

Decrease quality.
Increase blur.

In that order.

The more you decrease quality, the more artifacts you get.
When you're very close to your target size, you can increase blur...you lose detail, get some smoother transitions, and shave that last little bit from the file size.

You can decrease color depth in other formats like TIFF and GIF.

LVL 21

Author Comment

by:Dale Burrell
ID: 35144616
Awesome aleghart! That really helps... now I should give you the full story, I posted this question to help me understand my options, but I am actually intending to implement this functionality in software, specifically in http://www.neodynamic.com/Products/IDWebC/ImageDrawWebControl.aspx?tabid=24&prodid=4

I have full control over the JPEG quality, and I can control the blur, but I am wondering if blur is something that should only be played with when one can see the result? If I automatically apply a blur in software it may not always look good great?

It sounds like the JPEG quality is certainly the main consideration, and that colour depth etc is not applicable in this case?

How does one find out what actually happens with a 'save to web' anyway?
LVL 32

Expert Comment

ID: 35146005
"save to web" is just to indicate the purpose of the module.  It is designed for small files, and allows a preview 2-up or 4-up of different resolutions so the operator can view the results of different settings.  The final file is saved on a hard drive just like a "Save As..." command.

Once a file is saved with destructive compression, it should not be edited again...the original should be used to generate a new web version.  JPEG is destructive.  GIF even moreso as you alter color depth.

The results are difficult to predict, as every image has different details.  What works for a 1-color logo will not be the same as a full-color headshot or Ansel Adams landscape.  That's the strength of that module...seeing what you're going to get.

Of course that all goes out the window when the file is viewed on a different monitor with different resolution, color calibration, gamut, temperature, and ambient conditions.  :)
LVL 21

Author Closing Comment

by:Dale Burrell
ID: 35186621

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction In a previous article (http://www.experts-exchange.com/Web_Development/Document_Imaging/A_6537-PaperPort-Upgrade-How-to-download-and-install-updated-versions-of-PaperPort-11-and-12.html) (now deprecated), I discussed how to upgrad…
Recently, an awarded photographer, Selina De Maeyer (http://www.selinademaeyer.com/), completed a photo shoot of a beautiful event (http://www.sintjacobantwerpen.be/verslag-en-fotoreportage-van-de-sacramentsprocessie-door-antwerpen#thumbnails) in An…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question