Jump to content

Picture compression


Recommended Posts

My guess is, it wasn't originally at 100% quality.  When you open a compressed image, the program has to make all sorts of assumptions about the compressed data and fill in every pixel with color information; then when you save it at 100%, it saves those exact pixels as if they were the original image you were trying to save.

 

Imagine it like a 500-page book.  When you compress an image to save it, it's like going through a book and ripping out all the pages you don't need.  Maybe you get it from 500 pages down to 250.  Then, when you open it again, you know you have to deliver a 500-page book, so you guess about the missing pages to fill in all the gaps.  Saving the image instantly at 100% is like saving that newly-reconstructed book perfectly; you're saving the 250 original pages and the 250 pages you just made up to fill in the gaps.  (Plus, Paint.NET adds metadata to the file, etc. which will increase the size)

 

The best way to prevent it is to use a lossless image format like PNG.  It'll be bigger to start with, but you won't lose information.  It's like saving and reopening all 500 pages.

  • Upvote 1

 

The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.
Amy: But how did it end up in there?
The Doctor: You know fairy tales. A good wizard tricked it.
River Song: I hate good wizards in fairy tales; they always turn out to be him.

Link to comment
Share on other sites

  • 2 weeks later...

For me, Paint.Net's doubling of file size is a possible deal breaker. I can't see why it is necessary, or why there doesn't seem to be a way to choose not to save metadata/history. When I made an overall color correction to a JPG photo (originally 4.3 Mb) from my camera, and wind up with an 8+ Mb file, I thought I must have done something wrong. But, now it looks like that is the way Paint.Net works. Am I missing something?

 

If this is the only way P.N works, I'll just have to move on to another program.

 

EB

Link to comment
Share on other sites

I would be interested in analyzing this further.  Is there any chance you could provide access to the source image?

Link to comment
Share on other sites

Thank you EER. I just uploaded the original photo and two corrected versions to Flickr:

http://www.flickr.com/photos/109221759@N08/

 

One version uses mild color correction, the other uses about the same color correction and also lightens the scene.

 

The photos were made in a cave restaurant with some sort of very warm fluorescent lighting.

 

Thanks for your help. I hope there is a way to control file size other than reducing the size or resolution of a photo

 

EB

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...