Solved

Image Manipulation to shrink JPEG file size.

Posted on 2011-03-15
9
327 Views
Last Modified: 2012-06-21
Hi,

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?

Cheers,

Dale
0
Comment
Question by:Dale Burrell
  • 3
  • 3
  • 2
  • +1
9 Comments
 
LVL 12

Expert Comment

by:enachemc
ID: 35136517
make it black and white
0
 
LVL 12

Expert Comment

by:enachemc
ID: 35136519
decrease the number of colors used (bits per color)
0
 
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?
0
 
LVL 12

Expert Comment

by:enachemc
ID: 35136557
use irfanview (free)
Image -> decrease color depth
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 2

Expert Comment

by:sylenix
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.
0
 
LVL 32

Accepted Solution

by:
aleghart earned 500 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.

 aleghart-427824.flv
0
 
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?
0
 
LVL 32

Expert Comment

by:aleghart
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.  :)
0
 
LVL 21

Author Closing Comment

by:Dale Burrell
ID: 35186621
Cheers
0

Featured Post

Free camera licenses with purchase of My Cloud NAS

Milestone Arcus software is compatible with thousands of industry-leading cameras for added flexibility. Upon installation on your My Cloud NAS, you will receive two (2) camera licenses already enabled in the software. And for a limited time, get additional camera licenses FREE.

Join & Write a Comment

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…
PaperPort 14.5 Patch 1 update is often not detected or downloaded automatically. This article provides direct download links to solve the problem for retail (non-bundled) versions of the Standard and Professional editions, as well as the Professiona…
The goal of the tutorial is to teach the user what gradient filters are and how to use them. When you have a photo and some part of the photo is either over exposed or under exposed, you use a gradient filter to help mask the need to touch up th…
The goal of the tutorial is to teach the user how to remove a natural vignette your photos and how to add vignette to your photos.

759 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now