Rank: Newbie
Groups: Registered
Joined: 9/10/2020(UTC) Posts: 4  Thanks: 1 times
|
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?
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,027
Thanks: 5 times Was thanked: 122 time(s) in 119 post(s)
|
N is the number of color components in the color space Stream.Dictionary["N"] = PdfTypeNumber.Create(3); Edited by user Sunday, August 1, 2021 11:35:17 PM(UTC)
| Reason: Not specified
|
 1 user thanked Paul Rayman for this useful post.
|
|
|
Rank: Newbie
Groups: Registered
Joined: 9/10/2020(UTC) Posts: 4  Thanks: 1 times
|
Originally Posted by: Paul Rayman  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.
|
|
|
|
Forum Jump
You can post new topics in this forum.
You can reply to topics in this forum.
You can delete your posts in this forum.
You can edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close