Jump to content

Cropped file size is more than original


Recommended Posts

I have a sample.jpg that is 731 KB. 

When I crop part of sample.jpg (Rectangle Select tool, then Image | Crop to selection) ,

the new saved cropped file is 1,969 KB.

 

Shouldn't the cropped file be smaller than the original?

Can anyone explain why the cropped file is MUCH larger than the original?

Is there any way I can maintain the original quality and end up with a smaller sized file after cropping?

 

Link to comment
Share on other sites

I'd guess the the original image was more compressed. Before the image is saved as JPEG, PDN asks for the Quality setting. Perhaps setting it lower will help (though, of course, the image may look worse).

 

The main cause is likely a result of re-compressing a compressed image. When compressing the image, JPEG subdivides the image into 8x8 blocks. When you crop the image, the old block boundaries will likely fall within the interiors of the new blocks. The second JPEG compression ends up treating the JPEG compression noise from the first compression as data that must be encoded. The higher the original compression, the higher the JPEG compression noise, exacerbating the problem. Consider a simple example: a smooth diagonal color gradient. The gradient can be compressed into a small JPEG file. If you open the file in PDN, it will no longer be a smooth gradient; it will be blocky. If you crop it, the blocks will probably no longer align with the original compression block boundaries. When you re-compress the image, the compressor will be dealing with a more complex image than the original gradient.

Edited by MJW
  • Upvote 1
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.

 Share

×
×
  • Create New...