Smaller image has same file size
Moderators: XnTriq, helmut, xnview
Smaller image has same file size
When i resize a picture, the picture is smaller but file size is same.
Example: I resize 50% screen size (i have checked "Keep ratio") picture size is 373.92kb and after resize size is 376.24kb. Ok i do it again and now picture size is 104.27kb but picture is too small.
This picture is 72 pixels per inch but if my picture is 300, resize works great?
What here happen
Example: I resize 50% screen size (i have checked "Keep ratio") picture size is 373.92kb and after resize size is 376.24kb. Ok i do it again and now picture size is 104.27kb but picture is too small.
This picture is 72 pixels per inch but if my picture is 300, resize works great?
What here happen
Re: Smaller image has same file size
The phenomenom you observe might surprise other people, too:
You have a JPG image 600x400, resize it to 300x200, save it and the saved image is larger in size than the original image!
Reason for this is the lossy image compression of JPG: When saving an image in the JPEG format, one can set a quality level: 100% means, that the image is saved 100% exactly, no pixel will differ from the original when reopening the file. Any percentage less than 100% means that image information is lost due to the compression algorithm applied.
The compression algorithm can optimize best when it is applied the first time. Most JPEG images that one gets (from Internet, Digital cameras, Scanners) have been compressed with some loss, already.
Now, when resizing the image or even just saving it again, either the file is compressed again and image information is lost again, or the file size might remain almost the same, although the image is much smaller in pixel size.
The consequences:
- When saving an image with image loss (e.g. 50% JPG quality), image quality gets poorer each time the image is saved.
- If you intend to modify an image several times, do not use JPEG as intermediate format.
See also post "JPG LosslessTransformations"
You have a JPG image 600x400, resize it to 300x200, save it and the saved image is larger in size than the original image!
Reason for this is the lossy image compression of JPG: When saving an image in the JPEG format, one can set a quality level: 100% means, that the image is saved 100% exactly, no pixel will differ from the original when reopening the file. Any percentage less than 100% means that image information is lost due to the compression algorithm applied.
The compression algorithm can optimize best when it is applied the first time. Most JPEG images that one gets (from Internet, Digital cameras, Scanners) have been compressed with some loss, already.
Now, when resizing the image or even just saving it again, either the file is compressed again and image information is lost again, or the file size might remain almost the same, although the image is much smaller in pixel size.
The consequences:
- When saving an image with image loss (e.g. 50% JPG quality), image quality gets poorer each time the image is saved.
- If you intend to modify an image several times, do not use JPEG as intermediate format.
See also post "JPG LosslessTransformations"
Last edited by helmut on Tue Oct 10, 2006 12:10 am, edited 1 time in total.
Think the options should be displayed right before saving (as Greg proposed). With some formats like JPG and GIF, you often want to make a special setting per image:
For example in GIF files, you want to set the Transparent color and interlaced/non-interlaced. Making these settings in the general options or the colour dialog is too complicated and forgotten, often.
For example in GIF files, you want to set the Transparent color and interlaced/non-interlaced. Making these settings in the general options or the colour dialog is too complicated and forgotten, often.
Right, there's the "Options" button in the "Save" dialog, this one is really helpful and directs to the appropriate options. But people might compress a file for the internet down to 30%. Two days later, they save another image and forget to change a setting and save their JPG image with that old 30% compression by accident.crazytb wrote:Don't we have a button called "Options", just at side of "file type"? What is the problem with clicking there?
To avoid this, showing a dialog with some options on it (e.g. quality for JPG files or transparency and GIF type for GIF files) could be helpful.
Wizard? Wizards aren't always good, because sometimes I cannot change all options at only one window. The first thing when I use WinZip is to select Classic style.helmut wrote:Sure enough, this should not be just one big save dialog, but more like a wizard, that means several dialogs or dialog pages after each other.
But... maybe... Add some small text area (just a label) to Save dialog, showing current quality settings for current image type, and a button to open a "normal" dialog to change these settings. This way, we will have the configuration at one click, and we will also have a "small" save dialog.
- foxyshadis
- Posts: 393
- Joined: Sat Nov 18, 2006 8:57 am