Skip to main content
Participating Frequently
May 28, 2020
Answered

RGB color bug export to jpg

  • May 28, 2020
  • 2 replies
  • 1161 views

Hi!

I have some problem.

I draw a square, fill it with the color R109 G173 B142, then export it to jpg with 100% quality. I use color profile and not check sRGB.  The saved jpg-file I open through photoshop and when I take the color with a eyedropper, it is a little different R109 G172 B141 Why does this happen and what can I do that the color does not change?

 

Color profile Adobe RGB (1998)

Color mode RGB

This topic has been closed for replies.
Correct answer NB, colourmanagement

Hi,

When JPEG compression is carried out, there can be small colour changes - JPEG compression carries some significant disadvantages, this is one of them.

As D. Fosse wrote Jpeg compression is ALL about minimising filesize.

 

Interesting info here:  http://learnmem.cshlp.org/site/misc/tsg_JPEG_instructions.pdf

"JPEG compression attempts to create patterns in the color values in order to reduce the amount of data that needs to be recorded, thereby reducing the file size. In order to create these patterns, some color values are approximated to match those of nearby pixels."

 

Inadvisability of resizing a JPEG  image after compression, due to increasing visibility of JPEG artifacts, is another intrinsic loss that many people discover after it's too late.

 

To give an idea of losses involved - author of Photoshop For Photographers, Martin Evening [https://www.martinevening.com/index] wrote that having a RAW original has a significant advantage over a JPEG. since allowing a camera to make a Jpeg discards up to 83%, 83%! of image data. I don't expect, though, that the loss from compressing a Tif or PSD to Jpeg is quite as severe. 

 

I hope this helps

if so, please "like" my reply

neil barstow, colourmanagement.net :: adobe forum volunteer

[please do not use the reply button on a message in the thread, only use the one at the top of the page, to maintain the thread title and the chronological order]

2 replies

NB, colourmanagement
Community Expert
NB, colourmanagementCommunity ExpertCorrect answer
Community Expert
May 29, 2020

Hi,

When JPEG compression is carried out, there can be small colour changes - JPEG compression carries some significant disadvantages, this is one of them.

As D. Fosse wrote Jpeg compression is ALL about minimising filesize.

 

Interesting info here:  http://learnmem.cshlp.org/site/misc/tsg_JPEG_instructions.pdf

"JPEG compression attempts to create patterns in the color values in order to reduce the amount of data that needs to be recorded, thereby reducing the file size. In order to create these patterns, some color values are approximated to match those of nearby pixels."

 

Inadvisability of resizing a JPEG  image after compression, due to increasing visibility of JPEG artifacts, is another intrinsic loss that many people discover after it's too late.

 

To give an idea of losses involved - author of Photoshop For Photographers, Martin Evening [https://www.martinevening.com/index] wrote that having a RAW original has a significant advantage over a JPEG. since allowing a camera to make a Jpeg discards up to 83%, 83%! of image data. I don't expect, though, that the loss from compressing a Tif or PSD to Jpeg is quite as severe. 

 

I hope this helps

if so, please "like" my reply

neil barstow, colourmanagement.net :: adobe forum volunteer

[please do not use the reply button on a message in the thread, only use the one at the top of the page, to maintain the thread title and the chronological order]

D Fosse
Community Expert
Community Expert
May 28, 2020

No bug. It's the jpeg compression. The color component is more aggressively compressed than the luminance component, because it's less visible. The primary goal with the jpeg spec is to reduce file size, all other considerations are secondary.

 

If you don't want the numbers to change, avoid jpeg.