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)
Show older comments
What chroma subsampling rate (e.g., 4:2:0 or 4:2:0) does imwrite use when saving a JPEG image, by default?
0 Comments
Answers (1)
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
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.
See Also
Categories
Find more on Import, Export, and Conversion in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!