2 ms·
JPEGs do bad things to your color space, though. I certainly welcome a replacement. For example, see: http://www.hackerfactor.com/blog/index.php?/archives/250
by Natsu 16y ago
JPEGs do bad things to your color space, though. I certainly welcome a replacement.
For example, see:
http://www.hackerfactor.com/blog/index.php?/archives/250-Showing-JPEGs-True-Color.html http://www.hackerfactor.com/blog/index.php?/archives/250-Sho...
and
http://www.hackerfactor.com/blog/index.php?/archives/355-How-I-Met-Your-Mother-Through-Photoshop.html http://www.hackerfactor.com/blog/index.php?/archives/355-How...
It would be nice to see a more modern replacement, assuming the technology is better. That said, I haven't read enough about WebP yet to know if it actually fixes any of those problems with the JPEG format.
- astrange 16y agoThat's a rounding loss, not a change to "your color space". In any case, JPEG supports storing RGB instead of YUV 4:2:0 (or even YUV 4:4:4). WebP _doesn't_ support this, but it really doesn't matter. The point of image files is for you to look at the image, not at the pixel values.
- Natsu 16y agoFrom the article I cited: "In fact, of the 16 million colors in the 24-bit true-color pallet, JPEG can only store about 2.3 million colors. That's about 14% of the available color space." and "If JPEG stored images using RGB, then the Q tables would cause colors to diverge. For example, blue would have the most loss due to compression so images would appear more reddish and greenish. Instead, images are converted to a different color representation: luminance, chrominance red, and chrominance blue (YCrCb). Changing any one of these values alters the red, green, and blue components concurrently and prevents color divergence."
- astrange 16y agoThe article you cited is nonsense. Quantization which causes one of the color channels to get darker is called a "DC shift" and encoders try very hard not to introduce it.