I am inserting svg image into pdf using tcpdf
. And tcpdf
writes pdf in rgb
using this command
$pdf->ImageSVG
But i want to convert it to cmyk
. So i thought i have 2 way to do this,
1)convert svg to cmyk
For this i tried this command
shell_exec("convert {$svgPath} -profile 'Canon_iPF_5000_-_iPF_8000_-_iPF_9000.icc' {$svgoppath}");
But not working
2)convert pdf to cmyk while writing svg
I tried to find in google regarding this, but no proper documentation of tcpdf
to force write pdf in cmyk
Is there any better way to achieve this?