|
|
Rank: Member Groups: Member
Joined: 2/6/2008 Posts: 12 Points: 36
|
Hi!!
how include an icc profile embeded into a Pdf Document? is there any way to do it?
really thanks!
Diego
|
|
Rank: Advanced Member Groups: Administration
, Member
Joined: 1/31/2005 Posts: 388 Points: 409
|
Hello,
ICC profile included automatically into PDF document. In case of JPEG compression it embedded into JPEG byte stream, otherwise - as separate tag in the PDF structure.
Best wishes, Alex.
|
|
Rank: Member Groups: Member
Joined: 2/6/2008 Posts: 12 Points: 36
|
Just to be sure, so i have to create images with icc embeded and put them into the pdf writer.... for example if i use: Code: PdfFrame pdfFrame = new PdfFrame(pageBitmap, p.Quality); pdfWriter.AddFrame(pdfFrame);
and pageBitmap has the icc included : Code: pageBitmap.ColorManagement.ColorManagementEnabled = true; pageBitmap.ColorProfile = Aurigma.GraphicsMill.ColorProfile...
...does the pdf generated take care about the ICC profile?
|
|
Rank: Advanced Member Groups: Administration
, Member
Joined: 1/31/2005 Posts: 388 Points: 409
|
Yes, it will be enough. Moreover, you also may skip this line: Code:
pageBitmap.ColorManagement.ColorManagementEnabled = true;
But there is some problem. It seems that Acrobat Reader ignores color profile embedded into the JPEG stream inside the document. So if your software too doesn't take into account JPEG-embedded profiles you can: use ZIP or no compression instead of JPEG or convert your images into sRGB colorspace.
Best wishes, Alex.
|
|
|
Guest |