logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Post a reply
From:
Message:

Maximum number of characters in each post is: 32767
Bold Italic Underline   Highlight Quote Choose Language for Syntax Highlighting Insert Image Insert an existing Attachment or upload a new File... Create Link   Unordered List Ordered List   Left Justify Center Justify Right Justify   Outdent Indent   More BBCode Tags
Font Color Font Size
Security Image:
Enter The Letters From The Security Image:
  Preview Post Cancel

Last 10 Posts (In reverse order)
DavidSlade Posted: Monday, August 2, 2021 12:17:45 AM(UTC)
 
Originally Posted by: Paul Rayman Go to Quoted Post
N is the number of color components in the color space
Stream.Dictionary["N"] = PdfTypeNumber.Create(3);


Thanks, I discovered this, just after I posted the question.
Paul Rayman Posted: Sunday, August 1, 2021 11:30:45 PM(UTC)
 
N is the number of color components in the color space
Stream.Dictionary["N"] = PdfTypeNumber.Create(3);
DavidSlade Posted: Sunday, August 1, 2021 10:15:00 PM(UTC)
 
There seems to be no built-in way to embed color spaces using pdfium.
I found a way to do this, adding an /ICCBased array. However the icc profile stream descriptor requires a page number: /N 3 for three component RGB color space
e.g.
<</Filter/FlateDecode/Length 1657900/N 3>>stream ...

Is there any way to add a page number?