PDF Color Space -- Maintaining Color Space when rasterizing to JPF or TIF

Can someone confirm that the newest version of Aspose PDF for .NET can set the color space of a JPG or TIF file when converting from a PDF file?


Our current version (v6) does not have any parameters to manage color space.

Our objective is to take a PDF file that might have objects in both CMYK and RGB color spaces and export a JPG file in CMYK color space.

Hi,


Thanks for contacting support.

Aspose.Pdf for .NET supports the feature to convert RGB color space PDF document to RGB image format. However currently it does not support the feature to convert RGB file to JPEG in CMYK color space. However we already have logged the requirement to convert RGB color space PDF to CMYK color space in our issue tracking system as PDFNEWNET-16222 and we plan to get this feature implemented in Q1-2015. Please be patient and wait for the resolution. We are sorry for this inconvenience.

CodeWarrior:

Can Aspose create a JPG or TIF in CMYK if all the elements in the PDF are in CMYK colorspace? You mention that it cannot take an RGB PDF and create a CMYK jpeg, but what if the PDF profile is Basic CMYK. Can Aspose create a CMYK raster image file from this type of CMYK PDF?

Hi,


Currently Aspose.Pdf for .NET cannot honor CMYK color space and when converting PDF file containing CMYK elements to image format, the elements will be treated as RGB. However, can you please share some sample PDF files so that we can further look into this requirement.

CodeWarrior,

Here is the dialog in Acrobat for your reference.

For our need, forcing to CMYK will answer our need -- as long as the CMYK values of the objects are retained. In other words, if an object has the following values:

C=100, M=80, Y=20, K=0 in the PDF, then when the JPG is created in CMYK color space, the JPG object will have these same values.

Being able to diagnose the PDF at an object level would provide the most information to the system, but in our application, we can control the PDF color space. We are failing because after we run the Aspose converter, the jpg file is in RGB space.

Hi,


Thanks for sharing the details.

For further investigation, I have separately logged the above stated scenario in our issue tracking system as PDFNEWNET-37669. We will further look into the details of this requirement and will keep you posted on the status of correction. Please be patient and spare us little time. We are sorry for this inconvenience.

The issues you have found earlier (filed as PDFNEWNET-16222) have been fixed in Aspose.Pdf for .NET 10.6.0.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
(15)