My PDF is for print, it's a 300Dpi and CMYK.
I show you the result when I open this PDF in Photoshop. I open, take the colorspace to RVB, take the size to 72Dpi and I save as a jpeg quality 12.

Photoshop use this :
* RGB : sRGB IEC61966-2.1
* CMYK Coated FOGRA27 (Iso 12647-2:2004)
Now I do this request :
Code: Select all
exec("/usr/bin/convert convert -verbose -colorspace RGB -resize 800 -interlace none -density 300 -quality 100 ARCHIVE/test.pdf[0] test.jpg");

I test this request :
Code: Select all
exec("/usr/bin/convert convert -verbose -colorspace CMYK -resize 800 -interlace none -density 300 -quality 100 ARCHIVE/test.pdf[0] test.jpg");

What param could be use to look like at my first Jpg?
I have to use -profil (icc) ?
I haven't a folder color in /usr/share. I have to add this folder and the profiles?
Thank a lot for your help