Replies: 8 comments 3 replies
-
|
Hi @cerbul13, You'll need to give more information: what OS are you using, what libvips interface are you using, what command did you run, what images did you use as input, what was the error, what result did you expect, etc. PANTONE make you pay to turn names into numbers, so libvips can't implement anything like that, unfortunately. libvips usually represents spot colours as an array of decimal densities, but the details depend on the libvips interface you are using (CLI, python, ruby, php, etc.). |
Beta Was this translation helpful? Give feedback.
-
|
Hello, The command lines I am using:
If I combine Cyan, Magenta, Yellow, Black only, without "Pantone 376 C", it will yield correct results, without any Pantone obviously. |
Beta Was this translation helpful? Give feedback.
-
|
For me is also ok to have my files renamed until the operation is done from "CMYK_1(PANTONE\ 376\ C).tiff" to "CMYK_1(CMYK: 10,20,30,40).tiff" or maybe "CMYK_1(Pantone\ 376\ C:[CMYK:10,20,30,40]).tiff". It ok either way as long as I can pass the exact RGB/CMYK numbers to the command line. Please help me with this. I can also prepare a list of pantone conversion manually in my software, if needed. |
Beta Was this translation helpful? Give feedback.
-
|
Ah so these are spot colours and your TIFF is a monochrome halftone? Yes, libvips can apply the CMYK to the mono image, but it's out of scope for the command-line interface, you'd need to use something like python for that. I could help write the code (just a few lines?), if that'd be useful. |
Beta Was this translation helpful? Give feedback.
-
|
All my tiffs are monochrome halftone, containing a single color each ( Cyan, Magenta, Yellow, Black, including Pantone color images). It is not a problem to define the exact CMYK for the pantone representation in my software, and somehow to pass to the command line the color that a pantone separation should be interpreted with. Only problem is to find a convenient way, easiest to implement, so that the command line could be fed with color codes for pantone colors. (Or maybe allow a bigger list of colors to adapt pantone to that list? ) However, I have to admit I know absolutely nothing about python, the best way you could help would be to either let me know where in the software is converted from "Cyan" text to the actual color representation, and add manually a list of Pantone Colors (and maybe define a default color cmyk value for missing colors), so that the command line knows what colors to use for pantone colors (vips knows to draw Cyan, Magenta, Yellow, Black but not Pantone). (obviously this would require me to recompile if possible, have to look into this if is possible/applicable based on license). |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
I want to thank you for your elaborate answer. My use case is that I have a pdf that contains CMYK and on top of that any number of PANTONE colors. I intend to obtain 1 bit separation (halftone) tiffs for every channel, Cyan, Magenta, Yellow, Black, Pantone#1, Pantone#2, Pantone#3, etc. My intent is to recombine all the channels into a single PNG color image, where I know that some colors will overlap, and the final results will have to be as close as possible to a printing press, that prints with plates and has a separate mechanical unit for every color that is printed. The plates that are used can only contain a single color. I will come back with questions regarding your answer, as I can only now study it :( Sorry for delay |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to vips bandjoin CMYK colors and this works.
However if I add any images that contain the Pantone code between "(" and ")" in the filename, I will obtain an image that is mostly black (or inverted) due to lack of color code interpretation of the pantone name inside paranthesis.
Is there any way to specify for example a color code (cmyk or rgb) inside paranthesis? Or maybe a specific string formatted color code that should be recognizable by vips?
I also don't mind having to use specific codes or to reuse Cyan Magenta Yellow Black to simulate pantone colors but I tryed this with double Cyan images and the result was not what it should.
Any help is much appreciated,
Regards,
Dan
Beta Was this translation helpful? Give feedback.
All reactions