In Acrobat PRO, when you open a PDF you can see the ink manager and its colors, like these:
I have a code in PHP with the TCPDF and Imagemagick libraries to create a PDF with two layers, and in each of them an image. But I need to add another color to this ink manager, is it possible to do that? I can't find much on it.
This is how I create the PDF:
$pdf = new TCPDF('L', 'mm');
$pdf->setPrintHeader(false);
$pdf->setPrintFooter(false);
$pdf->AddPage('L', array(60.4, 11.3));
And right after, I add the layers and the images. Is there a function that allows me to do what I need?
SOLVED
In the case of wanting to add new colors so that the Adobe PRO ink manager recognizes them, the following must be added:
To see a complete example, I leave you the documentation . There it explains in detail what the parameters are, and what type of object it returns.