What chroma subsampling rate (e.g., 4:2:0 or 4:2:2) does imwrite use when saving a JPEG image?

5 views (last 30 days)
What chroma subsampling rate (e.g., 4:2:0 or 4:2:0) does imwrite use when saving a JPEG image, by default?

Answers (1)

DGM
DGM on 10 Apr 2021
I know this is an old question, but I just had to figure it out myself. Imwrite uses 4:2:0 chroma subsampling, and the default quality setting is 75%. Somebody must really love crispy jpeg artifacts.
  1 Comment
Diego Ayala
Diego Ayala on 8 Feb 2022
Thanks for clarifying this, currently working on a new image compression format and comparing to JPG generated by Matlab, this informmation is useful.

Sign in to comment.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!