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.
  • Loading branch information
datalogics-josepha committed Apr 2, 2024
1 parent 81d810b commit 71f3510
Show file tree
Hide file tree
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
Expand Up @@ -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.
*
*/

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

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

Expand Down
3 changes: 2 additions & 1 deletion Images/OutputPreview/OutputPreview.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
*/

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

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

Expand Down

0 comments on commit 71f3510

Please sign in to comment.