issue creating jpeg with cmyk color space on indesign server using InDesign ExtendScript API
Feature:
I am trying to create a jpeg from a template exported from the indesign desktop app.
The jpeg can have custom preferenences equal to whats available in the JPEGExportPreference class.
Process:
When a user selects cmyk for their preference the JpegColorSpaceEnum.CMYK value is set for the jpegColorSpace property. The updated JPEGExportPreference is then set for the Application. Finally the image using the updated preference is exported using the exportFile method on the Document class
Issue:
The preferences are set for all fields except for jpegColorSpace when JpegColorSpaceEnum.CMYK is used. by default the icc profile that is set for the Application is u.s. web coated (swop) v2. When reading the exif data for the image that is created from the indesing server an rgb icc profile is being set. When the same template and preferences are used in the indesign desktop application the the correct icc profile is set when reading out the exif data.
Question:
Since there arent any other steps described in the indesign documentation do you know why I cant set the color space to cmyk for a jpeg image?
