Photoshop的CMYK转RGB公式
有没有地方可以获取 Photoshop 用于将 RGB 转换为 cmyk 的公式? 我知道网上有公式,但是photoshop不使用这个公式。它将颜色转换为不同的颜色。
谁能告诉我 Photoshop 的公式吗?
谢谢!
Is there a place where I can get the formula which photoshop uses to convert rgb to cmyk?
I know there are formulas on the web, but photoshop does not use this formula. It converts the collors different.
Can someone tell me the photoshop formula?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Photoshop 最有可能使用颜色配置文件将 RGB 转换为 CMYK。
如果您想在 Windows 上使用 .NET 语言执行相同的操作,则可以使用 API:
请注意,使用了来自两个不同命名空间的两个不同 Color 类。您可能需要添加PresentationCore DLL 作为参考。
在这种特殊情况下,使用 ISO Coated v2 300% (ECI) 型材。可以从 eci.org 的下载部分下载。它是包含多个配置文件的更大 ZIP 文件的一部分。
如果您需要将完整图像从 CMYK 转换为 RGB,同一命名空间中有一些特殊的类也使用颜色配置文件。
有一个不错的小型在线应用程序,用于使用颜色配置文件测试 CMYK 颜色转换。
Most likely, Photoshop uses a color profile for converting RGB to CMYK.
If you want to do the same with a .NET language on Windows, then there's an API for it:
Note that two different Color classes from two different namespaces are used. And you probably need to add the PresentationCore DLL as a reference.
In this particular case, the ISO Coated v2 300% (ECI) profile is used. It can be downloaded from the downloads section of eci.org. It's part of a bigger ZIP file containing several profiles.
If you need to convert a complete image from CMYK to RGB, there are special classes in the same namespace that use a color profile as well.
There's a nice little online app for testing the CMYK color conversion with a color profile.
它们有许多不同的 ICC 颜色配置文件,用于将颜色存储为 CMYK 和 RGB。没有一个终点都是颜色编码。有 RGB、sRGB、Adobe RGB、US Web Coated (SWOP) v2、GRACol 等。
作为印刷提供商,我会问您的最终目标是什么。如果您想在 Adobe Javascript 中使用颜色对象,我们可以讨论一下 Photoshop 脚本,但如果这与设计有关,我会谨慎对待:
RGB 色彩空间提供了更宽的色域(更多颜色),许多 Photoshop 效果仅在 RGB 下工作时才可用,并且 RGB 文件大小更小(仅存储 3 通道 RGB,而不是 4 CMY 和 K)。
如果您在将文档发送到打印机设备时将其保存为 CMYK,则打印机硬件无论如何都会重新解释颜色。所以大多数时候使用 CMYK 工作对你没有好处。
They are many different ICC Color Profiles for storing color as CMYK and RGB. There is no one end all be all encoding for color. There is RGB, sRGB, Adobe RGB, U.S. Web Coated (SWOP) v2, GRACol, etc.
As a print provider I'd ask what your end goal is. We can talk a bit about Photoshop scripting if you are looking to work with color objects in Adobe Javascript, but if this has to do with design I would lend this caution:
The RGB color space provides a wider color gamut (more colors), many photoshop effects are only available while working in RGB, and the RGB filesize is smaller (only storing 3 channels RGB, instead of 4 CMY & K).
If you save a document as CMYK when it goes to the printer device the printer hardware reinterprets the colors anyhow. So it does not benefit you to work in CMYK most of the time.
我确实使用 PhotoShop,但 google 搜索告诉我,这会因您使用的设备而异,并且由
Edit > 控制。颜色设置(Shift+Ctrl+K)
。I do use PhotoShop, but a google search tells me that this varies by the devices you are using, and is controlled in
Edit > Color Settings (Shift+Ctrl+K)
.