JPG sizing
Posted 30/09/2013 - 12:03
Link
Let's look at this more simply. If you want to e-mail an image, then resizing to EPZ e2 spec seems about right, maintaining quality when viewed on screen, but with modest file sizes.
Resize to 1000 pixels on the longest edge, 72ppi and a file size of no more than 400K.
I think it was the saving to quality level 12 that scuppered you, normally a file such as I describe might be quality level 9 upwards, keeping an eye on the file size at each setting.
Resize to 1000 pixels on the longest edge, 72ppi and a file size of no more than 400K.
I think it was the saving to quality level 12 that scuppered you, normally a file such as I describe might be quality level 9 upwards, keeping an eye on the file size at each setting.
Best regards, John
Posted 30/09/2013 - 16:43
Link
When you import a compressed Jpg into an image editor, it's decoded into a non compressed bitmap at usually, 8bits per channel.
When you save it again as a jpg the image editor applies it's compression as per your quality setting. The compression of the original file is irrelevant.
So it's highly likely saving a jpg at the highest quality ( very little compression ) will give a bigger file size than the original ( which likely had a lot of compression ) even though you've reduced the resolution.
If you want to see how much compression was applied to the original, then import it and save as a none compressed TIFF without changing it's size.
4000x2248 8bit tif here is 26.4MB so your original Nokia image was compressed a lot
When you save it again as a jpg the image editor applies it's compression as per your quality setting. The compression of the original file is irrelevant.
So it's highly likely saving a jpg at the highest quality ( very little compression ) will give a bigger file size than the original ( which likely had a lot of compression ) even though you've reduced the resolution.
If you want to see how much compression was applied to the original, then import it and save as a none compressed TIFF without changing it's size.
4000x2248 8bit tif here is 26.4MB so your original Nokia image was compressed a lot
[i]Bodies: 1x K-5IIs, 2x K-5, Sony TX-5, Nokia 808
Lenses: Pentax DA 10-17mm ED(IF) Fish Eye, Pentax DA 14mm f/2.8, Sigma 17-70mm f/2.8, Pentax-A 28mm f/2.8, Sigma 30mm F1.4 EX DC, Pentax-A 50mm f/1.2, Pentax-A 50mm f/1.4, Pentax-FA 50mm f/1.4, Pentax-A 50mm f/1.7, Pentax DA* 50-135mm f/2.8, Sigma 135-400mm APO DG, and more ..
Flash: AF-540FGZ, Vivitar 283
Lenses: Pentax DA 10-17mm ED(IF) Fish Eye, Pentax DA 14mm f/2.8, Sigma 17-70mm f/2.8, Pentax-A 28mm f/2.8, Sigma 30mm F1.4 EX DC, Pentax-A 50mm f/1.2, Pentax-A 50mm f/1.4, Pentax-FA 50mm f/1.4, Pentax-A 50mm f/1.7, Pentax DA* 50-135mm f/2.8, Sigma 135-400mm APO DG, and more ..
Flash: AF-540FGZ, Vivitar 283
Posted 30/09/2013 - 17:11
Link
Irfanview makes a good and simple job of resizing jpegs and even offers a lossless crop option.
John K
John K
John K
Add Comment
To leave a comment - Log in to Pentax User or create a new account.


862 posts
13 years
They were taken using a Nokia phone with 4000x2248 resolution and saved using the "Large" setting (Basic, Small, Medium, Large, High).
The file size of the two images are: 2.3 MB and 817 kB.
I wanted to email them but retain the detail so decided to reduce them in size to 2000x1124 in Photoshop and save at quality level 12. The file sizes became: 2.45 MB and 1.08 MB, both of which are larger than the original whereas I would have expected a reduction of 50% or more - in an ideal situation it would be 75% reduction to 1/4 size. Further reduction to 1000x562 gave 955 kB and 420 kB.
Using Photoshop to save the images with no reduction gave files of 5.47 MB and 2.29 MB and needed to select quality 8 or 9 to match the size.
So, trying to work out what is happening - is the original saved at a "low " quality level with fewer bits per pixel or the difference between pixels calculated at a lower resolution?
Does Photoshop automatically upscale an image to the highest possible resolution, filling missing bits with 0s?
Any thoughts comments?
I will have to try it with some original Pentax images and see what happens then.