<p>Below are the original image and a JPEG encoded/decoded image. To my untrained eyes, cyan becomes yellow, yellow becomes magenta, and magenta becomes cyan. Obviously there's a problem with the encoding and/or decoding, but I'd appreciate a more specific answer, along the lines of: "The image was encoded in X [color space], but was decoded in Y." Thank you. </p>

<p><a href="https://i.sstatic.net/xJK6x.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/xJK6x.png" alt="original"></a></p>

<p><a href="https://i.sstatic.net/4Fu3g.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/4Fu3g.png" alt="JPEG"></a></p>

CC BY-SA 3.0
2017-09-02T01:59:57.313Z
It looks to me like the RGB data from the first image is being interpreted as Y'CbCr data in the second image. Since the Y' value goes from -0.5 to +0.5, 0.0 is a greenish color rather than black.
user1118321
CC BY-SA 3.0
2017-12-31T02:02:28.940Z
You write that you want a _specific_ answer, but I think that is going to be difficult if you don't give any information about the tools you used to convert it, where you find the image, etc.
pipe
<color><compression>
What causes this color shift?
bongbang
# What causes this color shift?

(Asked by: username_0 on 2017-09-01)

Below are the original image and a JPEG encoded/decoded image. To my untrained eyes, cyan becomes yellow, yellow becomes magenta, and magenta becomes cyan. Obviously there's a problem with the encoding and/or decoding, but I'd appreciate a more specific answer, along the lines of: "The image was encoded in X [color space], but was decoded in Y." Thank you.

[![original](https://i.sstatic.net/xJK6x.png)](https://i.sstatic.net/xJK6x.png)

[![JPEG](https://i.sstatic.net/4Fu3g.png)](https://i.sstatic.net/4Fu3g.png)

**Tags:** color, compression

> **Comments:**
> **username_1**: It looks to me like the RGB data from the first image is being interpreted as Y'CbCr data in the second image. Since the Y' value goes from -0.5 to +0.5, 0.0 is a greenish color rather than black.  
> **username_2**: You write that you want a _specific_ answer, but I think that is going to be difficult if you don't give any information about the tools you used to convert it, where you find the image, etc.  

---

## 0 answers

