: Small JPEG image (just 21.8 KB) without lack of quality — why is that? This image size is just 21.8 KB without lack of quality. Why is that? How is it done?
This image size is just 21.8 KB without lack of quality. Why is that? How is it done?
More posts by @Merenda852
2 Comments
Sorted by latest first Latest Oldest Best
This sort of photo is great for a JPEG compression algorithm. Excerpts from the JPEG FAQ:
Generally speaking, JPEG is superior to GIF for storing full-color or
gray-scale images of "realistic" scenes; that means scanned photographs,
continuous-tone artwork, and similar material. Any smooth variation in
color, such as occurs in highlighted or shaded areas, will be represented
more faithfully and in less space by JPEG than by GIF.
JPEG has a hard time with very sharp edges: a row of pure-black pixels
adjacent to a row of pure-white pixels, for example.
75% of this image is one color. The photo of the man in this photo is actually pretty uniform as well - gray shirt, black pants. The only place where the JPEG image really needs to add complexity to not look terrible are the lines that separate the man from the background, the tie from the shirt, etc.
Give the guy a colorful plaid shirt and watch the file size grow quite a bit! Same story if there was a background with a large depth of field.
Here a lot of artifacts = quality loss compression. Since it have plain gray background the final size of JPG is quite small and artifacts are not so obvious.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.