Adding CMYK Images to PDF not working as expected
Posted: Mon Mar 17, 2014 5:11 pm
Hello,
i have a problem adding images with cmyk - color profile to a new pdf.
When i check the image files with "gdImaging.IsCMYKFile" it says "true".
When checking my pdf files with preflight all the images are in "DeviceRGB"
How can is save the pdf with CMYK - Images?
And i am wondering if it is possible to create pdf/x3 compatible files?
I am using PDF Plugin version 2.2.0.30
This is what i do:
// create new pdf
objPdf.NewPDF();
// Load an image with cmyk - profile (a tiff - file)
loadedImageId = gdImaging.CreateGdPictureImageFromFile(theFilePath);
// adding image to new page
objPdf.AddImageFromGdPictureImage(loadedImageId , false, true);
// saving pdf
objPdf.SaveToFile(@"D:\testfile.pdf",false,false);
i have a problem adding images with cmyk - color profile to a new pdf.
When i check the image files with "gdImaging.IsCMYKFile" it says "true".
When checking my pdf files with preflight all the images are in "DeviceRGB"
How can is save the pdf with CMYK - Images?
And i am wondering if it is possible to create pdf/x3 compatible files?
I am using PDF Plugin version 2.2.0.30
This is what i do:
// create new pdf
objPdf.NewPDF();
// Load an image with cmyk - profile (a tiff - file)
loadedImageId = gdImaging.CreateGdPictureImageFromFile(theFilePath);
// adding image to new page
objPdf.AddImageFromGdPictureImage(loadedImageId , false, true);
// saving pdf
objPdf.SaveToFile(@"D:\testfile.pdf",false,false);