sRGB refers to the sRGB color space used in digital imaging. Use this tag if you want to ask a question about converting to/from sRGB or modifying images in the sRGB spectrum.
Questions tagged [srgb]
110 questions
0
votes
2 answers
How to calculate the maximum possible value of Y for a pair of chromaticity coordinates x, y in sRGB
I think there should be some way from the distance to the primaries, or the intersection of the line that connects the point and the white point with the limits of the gamut.

Alex 23
- 1
- 2
0
votes
2 answers
How can I change the exposure of an sRGB image?
I wish to "normalize" the exposure of a set of images before doing further processing. I tried the following:
1) convert sRGB to CIE_XYZ per Wikipedia page on sRGB;
2) multiply or divide "Y" by 2 to achieve a 1 stop EV change;
3) convert CIE_XYZ…

user1146345
- 21
- 3
0
votes
1 answer
xyY color locus does not look correct
I just finished the task of converting an xyY color to RGB. I am using the sRGB color space.
When I loop through x and y coordinates, this is the output I get:
The whitepoint (D65) is marked with a black pixel.
However, this is what I should be…

MCMastery
- 3,099
- 2
- 20
- 43
0
votes
1 answer
How to get frames from HDR video in scRGB color space?
I want to create a simple video player that will show HDR video on HDR TV. For example, this "LG Chess HDR" video. It is encoded with HEVC, its bit depth is 10 bit, pixel format is YUV420P10LE and it has metadata abount BT2020 color space and PQ…
0
votes
1 answer
during conversion of XYZ to linear sRGB answer is out of range [0,1]
My task was to convert the RGB image into LuvImage.
Perform linear stretching in this domain. And than convert it back in the RGB domain.
Original Image:
[[ 0 0 0]
[255 0 0]
[100 100 100]
[ 0 100 100]]
Luv image after linear stretching…

nidhi vaishnav
- 158
- 1
- 1
- 9
0
votes
0 answers
Blender python convert color to 255 scale
I'm doing a bit of blender scripting atm. I have a python script that works with numpy and opencv to do some image processing and I wanna use that script within blender. The main issue is that when I read an image from blender it comes with pixel…

SirWinning
- 111
- 8
0
votes
0 answers
What color model does WebP implement?
Does it natively support sRGB? When you load and save image data using the libwebp API, do you assume linear or sRGB encoded data? Is there a way to indicate you'd like sRGB data?
Does it natively support associated alpha? When you load and save…

ioquatix
- 1,411
- 17
- 32
0
votes
1 answer
Gamma Correction and Luminance Masking
As per Weber's law, delta(L)/L is a constant where L is luminance measured in candela/m2 )i.e. (L2 - L1)/L1. This implies that a small change in lower luminance range (darker) is perceptually much more than a small change in higher luminance range…

Pranav Sodhani
- 115
- 13
0
votes
1 answer
Delphi TImage: How do I display images that are larger than the TImage component they are being loaded in or assigned to?
Some JPEG files with the following formats aren't displaying in Delphi's TImage control.
issue resolved.. [TImage.Autosize] Checkbox in image control is not checked by default, and as a result the image wasn't resizing. I was working with this…

Joseph Poirier
- 386
- 2
- 17
0
votes
0 answers
Convert sRGB PDF to a different RGB color profile
I have a PDF with an sRGB color profile, and I would like to convert this to a different RGB color profile. So far I have tried to use ghostscript with various parameter values with no luck--for example I have attempted the following:
gs …

lewistg
- 336
- 4
- 8
0
votes
1 answer
How can I determine the colorspace (RGB) profile of my data?
I have a standard jpeg image, which I use within some commercial software to colorize other data (by mapping the image's color onto the data). Then I export the colored data from this software to an XYRGB ascii file, i.e. I store the data…

Michael
- 280
- 2
- 13
0
votes
1 answer
sRGB, assimp and textures
I'm using assimp to load my various 3d models I've found around the internet to lab with. From reading assimp docs, it dosn't seem to say anything about linear/non-linear colorspaces. Can I assume the loaded models are in one space or another?
I'm…

KaiserJohaan
- 9,028
- 20
- 112
- 199
0
votes
2 answers
Why do ImageMagick-based thumbnail-images of PDF-files in Typo3 have black background?
Since version 6.7.5, ImageMagick has changed its colorspace from RGB to sRGB. Because of that I also had to change the setting [GFX][colorspace] = sRGB in the configuration of my Typo3 CMS software that makes use of ImageMagick. Everything is…

Keyser Soze
- 283
- 3
- 10
0
votes
3 answers
CMYK vs sRGB - which one is better
Guys i have 2 images one with CMYK color model and other with sRGB.. I would like to find out which color model is better to use while dealing with image processing like resizing, cropping, color filling etc..
Thanks in advance guys.. !

gursahib.singh.sahni
- 1,559
- 3
- 26
- 51
-1
votes
1 answer
Direct3D with sRGB - Gamma Corrected Colors
I'm coming from a Direct3D 9 background, and recently switched my custom game engine over to Direct3D12. After some research, it looked like using one of the *_SRGB formats was the way to go, because it corrected the gamma level.
Immediately, I…

Robert
- 413
- 4
- 12