color-management

Change the color profile of a page in CSS

谁都会走 提交于 2021-02-06 23:02:00
问题 I am working on a late-2019 Macbook Pro, which supports the P3 color gamut (wide color). I'm building a website that includes large blocks of vivid color, where I just want the colors to be as bright as possible. Most of the intended audience will also have P3-capable monitors. I discovered that my website looks amazing in Firefox -- much better than it does in Safari. It turns out that Firefox doesn't do any color management so the full P3 gamut is applied. Safari converts (or preserves) my

Change the color profile of a page in CSS

喜欢而已 提交于 2021-02-06 22:46:45
问题 I am working on a late-2019 Macbook Pro, which supports the P3 color gamut (wide color). I'm building a website that includes large blocks of vivid color, where I just want the colors to be as bright as possible. Most of the intended audience will also have P3-capable monitors. I discovered that my website looks amazing in Firefox -- much better than it does in Safari. It turns out that Firefox doesn't do any color management so the full P3 gamut is applied. Safari converts (or preserves) my

Change the color profile of a page in CSS

[亡魂溺海] 提交于 2021-02-06 22:42:28
问题 I am working on a late-2019 Macbook Pro, which supports the P3 color gamut (wide color). I'm building a website that includes large blocks of vivid color, where I just want the colors to be as bright as possible. Most of the intended audience will also have P3-capable monitors. I discovered that my website looks amazing in Firefox -- much better than it does in Safari. It turns out that Firefox doesn't do any color management so the full P3 gamut is applied. Safari converts (or preserves) my

Convert RGB PNG to CMYK JPEG (using ICC Color Profiles)

不打扰是莪最后的温柔 提交于 2019-12-22 08:34:20
问题 I need to convert a PNG-File into a CMYK JPEG. During my research i've found multiple articles on SO decribing that problem. I've copied this answer using BufferedImage and ColorConvertOp . I came up with this little example: public static void main(final String[] args) throws IOException { final String imageFile = "/tmp/page0.png"; final BufferedImage pngImage = ImageIO.read(new File(imageFile)); // convert PNG to JPEG // http://www.mkyong.com/java/convert-png-to-jpeg-image-file-in-java/

CIAreaHistogram inputScale factor

蓝咒 提交于 2019-12-21 04:58:14
问题 I'm building an application that uses the CIAreaHistogram Core Image filter. I use an inputCount value (number of buckets) of 10 for testing, and an inputScale value of 1. I get the CIImage for the histogram itself, which I then run through a custom kernel (see end of post) to set alpha values to 1 (since otherwise the alpha value from the histogram calculations is premultiplied) and then convert it to an NSBitmapImageRep . I then scan through the image rep's buffer and print the RGB values

Is there any client-side technology able to convert sRGB to CMYK through an ICC color profile?

百般思念 提交于 2019-12-18 20:01:19
问题 Is there any technology available in a browser (client-side) able to convert sRGB colors to CMYK and vice versa using a specified ICC color profile? I'm currently using a hidden Java applet for the conversions (Java has a built-in class for this), but I'm trying to find an alternative, since java applets are slow and outdated. SVG would be ideal if browsers supported ICC colors in SVG, but no-one does. Flash or Silverlight would also be good, but I can't find anything relevant. 回答1: Am I

Code example for WcsGetDefaultColorProfile

六眼飞鱼酱① 提交于 2019-12-09 18:25:44
问题 Does anyone have a working code example showing a call to the Windows Color System function WcsGetDefaultColorProfile to get the default color profile for a specific device? It works for me when I pass null for the pDeviceName parameter, but when I try to pass the device name of a monitor, I always get back an error code of ERROR_FILE_NOT_FOUND. I would prefer a C# example, but I'll take anything I can get. I can't find any sample code for the newer WCS profile management functions anywhere.

JFrame coloration should like to this picture

岁酱吖の 提交于 2019-12-09 07:10:34
问题 My question is a bit strange. I want my created form (with JFrame) coloration should be like to this picture: Should i use a special look and feel ? 回答1: Should i use a special look and feel ? there is no such built-in Look&Feel available as much as i know. However for "Look&Feel", "Look" refers to the appearance of GUI widgets (more formally, JComponents) and "feel" refers to the way the widgets behave. If so, then we can always make our Swing component to be appeared as we want in the GUI.

Achieving Colour Consistency Across Different Monitors

巧了我就是萌 提交于 2019-12-07 04:13:57
问题 I have an SWF file with only vector illustrations in it (no bitmaps). Is there a way to improve colour consistency across different monitors? Colour management is a very complex topic and the more I read about it the more confused I become. There's this thing called ICC profiles which are supposed to convert colours into device independent color spaces, but of what use is that? 回答1: ICC profiles provides a way to map the colors that your monitor thinks it's showing (the bitmap/image, or other

Convert RGB PNG to CMYK JPEG (using ICC Color Profiles)

北慕城南 提交于 2019-12-05 14:16:39
I need to convert a PNG-File into a CMYK JPEG. During my research i've found multiple articles on SO decribing that problem. I've copied this answer using BufferedImage and ColorConvertOp . I came up with this little example: public static void main(final String[] args) throws IOException { final String imageFile = "/tmp/page0.png"; final BufferedImage pngImage = ImageIO.read(new File(imageFile)); // convert PNG to JPEG // http://www.mkyong.com/java/convert-png-to-jpeg-image-file-in-java/ final BufferedImage rgbImage = new BufferedImage(pngImage.getWidth(), pngImage.getHeight(), BufferedImage