Is it better to resize an image before converting it from png to jpg, or to convert it before resizing it?

Same for cropping instead of resizing (but I guess that cropping before or after makes no diff)


Resize prior to any lossy compression - this gets you the best quality result for the intended pixel dimensions.

Lossy compression like .jpg save space by calculating relationships and change of pixel arrays, so for best effect, you want to do all resizing in the base non-compressed image, and you'll get better results from the placing of the compressed image if the compression "knows" the final pixel size.

  • 2
    so it can be generalized as "do any image modification prior to any lossy compression", right? May 13 '19 at 17:56
  • 1
    @pedrotester Always. That's the thumbrule.
    – Bluebug
    May 13 '19 at 18:04
  • 1
    hmm and I suppose it's better to resize only once, and not to resize twice consecutively? example: from 100% to 20% instead of 100% to 50% to 20% May 13 '19 at 20:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.