Solved

Image Manipulation to shrink JPEG file size.

Posted on 2011-03-15
9
328 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
Superior storage. Superior surveillance.

WD Purple drives are built for 24/7, always-on, high-definition security systems. With support for up to 8 hard drives and 32 cameras, WD Purple drives are optimized for surveillance.

 
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

Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

Question has a verified solution.

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

The standard (non-Professional) edition of PaperPort (http://www.nuance.com/for-individuals/by-product/paperport/index.htm) from Nuance Communications (http://www.nuance.com/) (previously known as ScanSoft) is limited to five Scanning Profiles, but …
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 how to import photos into Adobe Lightroom efficiently and to keep everything organized.
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

947 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

19 Experts available now in Live!

Get 1:1 Help Now