Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
sviluppophotosi  
#1 Posted : Sunday, May 18, 2008 7:52:35 PM(UTC)
sviluppophotosi

Rank: Advanced Member

Groups: Member
Joined: 2/5/2008(UTC)
Posts: 30

Hi!!

how include an icc profile embeded into a Pdf Document? is there any way to do it?

really thanks!

Diego
Alex Kon  
#2 Posted : Tuesday, May 20, 2008 1:10:27 PM(UTC)
Alex Kon

Rank: Advanced Member

Groups: Administration
Joined: 1/31/2005(UTC)
Posts: 458

Was thanked: 5 time(s) in 5 post(s)
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.

Edited by user Tuesday, May 20, 2008 1:11:16 PM(UTC)  | Reason: Not specified

sviluppophotosi  
#3 Posted : Tuesday, June 3, 2008 6:42:24 PM(UTC)
sviluppophotosi

Rank: Advanced Member

Groups: Member
Joined: 2/5/2008(UTC)
Posts: 30

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?
Alex Kon  
#4 Posted : Wednesday, June 4, 2008 7:18:56 PM(UTC)
Alex Kon

Rank: Advanced Member

Groups: Administration
Joined: 1/31/2005(UTC)
Posts: 458

Was thanked: 5 time(s) in 5 post(s)
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.
  • Users browsing this topic
    Forum Jump  
    You cannot post new topics in this forum.
    You cannot reply to topics in this forum.
    You cannot delete your posts in this forum.
    You cannot edit your posts in this forum.
    You cannot create polls in this forum.
    You cannot vote in polls in this forum.