Questions tagged [srgb]

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.

Wikipedia Link

110 questions
2
votes
1 answer

sRGB's linear segment to avoid infinite slope - why?

In this article about sRGB (https://en.wikipedia.org/wiki/SRGB) is stated, that the gamma transformation has a linear portion near zero, to "avoid having an infinite slope at K = 0, which can cause numerical problems". I'd like to know what's the…
Andi Cox
  • 25
  • 5
2
votes
1 answer

Chrome OSX color broken

      Every color on the web (as far as I can tell) is displayed inconsistently in Google Chrome 43.0 on a MacBook Air running OSX 10.3 with an unmodified LCD color profile. Before attempting it yourself, Watch this short YouTube video demonstrating…
2
votes
3 answers

Getting type of RGB: sRGB or AdobeRGB in C#?

I need to check if picture is sRGB or Adobe RGB in my WEBapplication. Is there a way to know exactly what RGB does the picture have? UPDATE: Tried to Use Color.Context, but it's always null code Bitmap img = (Bitmap)image; var imgPixel =…
anindis
  • 714
  • 2
  • 11
  • 20
2
votes
0 answers

How to set Qt sRGB gamma for stylesheets and labels?

My QGLWidget has glEnable(GL_FRAMEBUFFER_SRGB) but my Qt widgets are not gamma corrected causing a disconnect between the Qt stylesheet colors and other colors (for color picking) and what is displayed in the QGL view. Is there a Qt way to gamma…
bvs
  • 340
  • 5
  • 20
2
votes
0 answers

How can I keep sRGB Color Values in sync across various Xcode functionalities

I am trying to set the UI colors for a navigation bar control in an iPhone app to values detailed in a specification document, but I cannot get Xcode to maintain the correct colors across it's various functions. The color of the navigation bar…
Rosswerks
  • 165
  • 1
  • 3
  • 14
2
votes
1 answer

Where do I get information about the support for 12 Bit color depth on the web?

I want to know, when 12 Bit colors will be supported by the w3specs. Currently webcolors are defined 8 Bit as sRGB (like: #FFFFFF or rgba(255,0,0,100) ) So I wonder, if there ever will be something like ** 12-Bit sRGB** where you define colors…
AddingColor
  • 596
  • 1
  • 5
  • 24
2
votes
1 answer

GIMP 2: how to batch assign sRGB profile to a lot of images into various subfolder

I've an entire tree with PNG images I need to - open - assign sRGB profile - close to every of them (about 2000 images) Is there a way to do this via gimp 2?
realtebo
  • 23,922
  • 37
  • 112
  • 189
2
votes
2 answers

Convert to sRGB for iPhone?

Should I select "Convert to sRGB" in Adobe Photoshop/Illustrator if I'm saving the image for the iPhone or iPad? Why You Should Probably Use sRGB says you should use sRGB for web. But, what about for iPhone apps?
ma11hew28
  • 121,420
  • 116
  • 450
  • 651
1
vote
1 answer

make a lightness histogram with luminance, Lab and sRGB space in Java

I have to create a lightness histogram of an image. I have already maked a RGB Histogram On Internet i found these values: Luminance (standard, objective): (0.2126*R) + (0.7152*G) + (0.0722*B) Luminance (perceived option 1): (0.299*R + 0.587*G +…
postgres
  • 2,242
  • 5
  • 34
  • 50
1
vote
1 answer

Changed color in Unity

Why does an image imported from Photoshop to Unity change its colors? Both programs being set to sRGB mode and gamma correction at Project Settings>Player>Other Settings>Rendering>Color Space are set to Linear or even Gamma does not matter. I…
FukurouPL
  • 11
  • 2
1
vote
0 answers

Color conversion, get XYZ from xy coordinates

I am getting x/y coordinates from a GUI which need to be converted to sRGB. Y is missing, just a "Brightness" is available also. Since "Brightness" and Y are two totally different things I try to go with x/y. Converting to X/Y/Z we can use for the…
Snaky
  • 101
  • 1
  • 3
1
vote
1 answer

WGL - ChoosePixelFormat and sRGB framebuffer

I have a legacy OpenGL application which sets a pixel format based of ChoosePixelFormat instead of wglChoosePixelFormatARB or wglGetPixelFormatAttribivARB/wglGetPixelFormatAttribfvARB. ChoosePixelFormat doesn't allow to set a framebuffer color space…
Irbis
  • 1,432
  • 1
  • 13
  • 39
1
vote
0 answers

How do I plot sRGB gamut slice with colorio?

I want to plot the Mac Adam ellipses in different color spaces. For convenience I would like to show the possible sRGB Gamut too. Just like in this image (which is made with the colorio package too): Here I encountered two problems: I don't know…
1
vote
2 answers

What exactly happens with sRGB and Display P3 colors in one iOS app?

I am unclear about what happens when I mix those two color spaces in one app. Will the sRGB colors just look paler than without mixing them with the colors of the larger Display P3 color space? Should I be trying to avoid it?
Mick
  • 954
  • 7
  • 17
1
vote
1 answer

Java Swing JColorChooser Color RGB to sRGB

Is there a way to use the JColorChooser to return a Color that can be converted into their corresponding sRGB float values? Color backgroundColor = JColorChooser.showDialog(this,"Select a color", default); float r = backgroundColor.getRed(); …
boardkeystown
  • 180
  • 1
  • 11