Merging RGB and CMYK into CMYK
Posted: 2018-07-18T04:57:22-07:00
Hello ImageMagick community
This is my first post and before I start I want to thank you guys for all your effort and the enormous amount of information on this site!
I'm developing a web-to-print-solution, and need to merge two sorts of images:
RGB -> Convert into ISO coated V2.
CMYK -> Take it as it is, if the icc profile is correct (ISO coated V2).
The images are treated as layers that can be positioned on a canvas. There can be formats like transparent PNGs, JPEGs (CMYK or RGB) and a few others. The images are soft proofed while they are being edited. Once the user has finished a design, a PDF is generated.
All that stuff works like a charm, however I'm kind of new to color managment, and I ran into an issue, that is tough to solve (at least when it comes to precision).
Since there are quiet a few transformations that must be done with the final design (images are scaled, rotated, and so on), I am using the RGB colorspace for composing the final image, which then is converted into CMYK and placed in a PDF.
Now I'm trying to find the most precise way of converting CMYK into RGB (for composition purposes) and then back into CMYK. In an ideal scenario the CMYK color values would remain unchanged.
There are two significant impacts on the scenario:
1. The CMYK contains NO colours with channel BLACK > 0%
Conversion to RGB (without rendering intent) and back gives identical results. Perfect!
2. The CMYK contains colours with channel BLACK > 0%
Conversion to RGB cannot be done without rendering intent, since the channel BLACK would just be dropped without having been taken into account for the conversion.
Once the rendering intents are applied the majority of color values will have changed after rendering forth (to RGB) and back (to CMYK).
So today I tried to extract the channel BLACK as GRAYSCALE and use it somehow with the RGB composition (I'm not happy with the results and also I'm not sure if that is a sensible approach)...
Basically I try to find a conversion of a CMYK-image that has colors with BLACK > 0% without rendering intent (to preserve CMY), but at the same time I need either the rendering intent for preserving the channel BLACK as good as possible or the solution I did not find yet
Since the image is part of a whole composition of images (basically the print master), I can not just copy the extracted channel BLACK back. Placing it at the right position in the composition also would not solve the problem (since graphics in the composition may overlap). So I am wondering if the extracted channel BLACK can somehow be useful for the composition in RGB colorspace.
Or maybe there is some type of approach where all Black channels are merged into one image (like the RGB composition) and then copied back into the final CMYK composition.
This is now exactly the point at which I felt like asking what you guys would do, or if you ran into the same problem before
Best
This is my first post and before I start I want to thank you guys for all your effort and the enormous amount of information on this site!
I'm developing a web-to-print-solution, and need to merge two sorts of images:
RGB -> Convert into ISO coated V2.
CMYK -> Take it as it is, if the icc profile is correct (ISO coated V2).
The images are treated as layers that can be positioned on a canvas. There can be formats like transparent PNGs, JPEGs (CMYK or RGB) and a few others. The images are soft proofed while they are being edited. Once the user has finished a design, a PDF is generated.
All that stuff works like a charm, however I'm kind of new to color managment, and I ran into an issue, that is tough to solve (at least when it comes to precision).
Since there are quiet a few transformations that must be done with the final design (images are scaled, rotated, and so on), I am using the RGB colorspace for composing the final image, which then is converted into CMYK and placed in a PDF.
Now I'm trying to find the most precise way of converting CMYK into RGB (for composition purposes) and then back into CMYK. In an ideal scenario the CMYK color values would remain unchanged.
There are two significant impacts on the scenario:
1. The CMYK contains NO colours with channel BLACK > 0%
Conversion to RGB (without rendering intent) and back gives identical results. Perfect!
2. The CMYK contains colours with channel BLACK > 0%
Conversion to RGB cannot be done without rendering intent, since the channel BLACK would just be dropped without having been taken into account for the conversion.
Once the rendering intents are applied the majority of color values will have changed after rendering forth (to RGB) and back (to CMYK).
So today I tried to extract the channel BLACK as GRAYSCALE and use it somehow with the RGB composition (I'm not happy with the results and also I'm not sure if that is a sensible approach)...
Basically I try to find a conversion of a CMYK-image that has colors with BLACK > 0% without rendering intent (to preserve CMY), but at the same time I need either the rendering intent for preserving the channel BLACK as good as possible or the solution I did not find yet
Since the image is part of a whole composition of images (basically the print master), I can not just copy the extracted channel BLACK back. Placing it at the right position in the composition also would not solve the problem (since graphics in the composition may overlap). So I am wondering if the extracted channel BLACK can somehow be useful for the composition in RGB colorspace.
Or maybe there is some type of approach where all Black channels are merged into one image (like the RGB composition) and then copied back into the final CMYK composition.
This is now exactly the point at which I felt like asking what you guys would do, or if you ran into the same problem before
Best