Forum How do I...?

How to use --raster-format = jpg to output cmyk jpg

hanhongfei
I need cmyk jpg.
I try to use --raster-format = jpg, the output jpg is sRGB.
Is there a way to specify the color space when use raster output?
like pdf output options:--pdf-profile and --convert-colors
mikeday
Unfortunately not, rasterisation is limited to sRGB for now and changing it would require a considerable amount of work. In the meantime you may need to generate a PDF file and rasterise it with another tool.
hanhongfei
Got it, thank you mikeday.