Skip to content

Commit

Permalink
Fix render flag setting.
Browse files Browse the repository at this point in the history
Because Spot Colorants may only be part of Annotation appearances, to do a proper DeviceN rendering of all colorants this needs to be set.
Otherwise we collect all the spot colorants including those of Annotation appearances and setup our DeviceN rendering with it....but
at the same time we tell PDFL with our render flags "don't consider them", leading to scrambled output.
datalogics-josepha committed Apr 2, 2024

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
1 parent 81d810b commit 71f3510
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Images/GetSeparatedImages/GetSeparatedImages.cs
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
* This sample demonstrates drawing a list of grayscale separations from a PDF file to multi-paged TIFF file.
*
*
* Copyright (c) 2007-2023, Datalogics, Inc. All rights reserved.
* Copyright (c) 2007-2024, Datalogics, Inc. All rights reserved.
*
*/

@@ -49,6 +49,7 @@ static void Main(string[] args)
}

PageImageParams pip = new PageImageParams();
pip.PageDrawFlags = DrawFlags.UseAnnotFaces;
pip.HorizontalResolution = 300;
pip.VerticalResolution = 300;

3 changes: 2 additions & 1 deletion Images/OutputPreview/OutputPreview.cs
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
* This sample demonstrates creating an Output Preview Image which is used during Soft Proofing prior to printing to visualize combining different Colorants.
*
*
* Copyright (c)2023, Datalogics, Inc. All rights reserved.
* Copyright (c)2023-2024, Datalogics, Inc. All rights reserved.
*
*/

@@ -75,6 +75,7 @@ static void Main(string[] args)
}

PageImageParams pip = new PageImageParams();
pip.PageDrawFlags = DrawFlags.UseAnnotFaces;
pip.HorizontalResolution = 300;
pip.VerticalResolution = 300;

0 comments on commit 71f3510

Please sign in to comment.