Can a JPEG compressed image be rotated without a loss in quality?

后端 未结 10 1567
灰色年华
灰色年华 2020-12-14 01:45

JPEG is a lossy compression scheme, so decompression-manipulation-recompression normally reduces the image quality further for each step. Is it possible to rotate a

10条回答
  •  执念已碎
    2020-12-14 01:52

    According to the excellent article on Understanding Digital Image Interpolation by Sean McHugh:

    Interpolation also occurs each time you rotate or distort an image. (...) The 90° rotation is lossless because no pixel ever has to be repositioned onto the border between two pixels (and therefore divided).

    and eventually concludes with

    avoid rotating your photos when possible; if an unleveled photo requires it, rotate no more than once.

提交回复
热议问题