From cdc3d7722aa643eb6a33ac0db89d9d8b439486d9 Mon Sep 17 00:00:00 2001 From: BobLd <38405645+BobLd@users.noreply.github.com> Date: Sat, 15 Apr 2023 10:30:38 +0100 Subject: [PATCH] Set rendering intent in operation --- .../Graphics/Operations/General/SetColorRenderingIntent.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/UglyToad.PdfPig/Graphics/Operations/General/SetColorRenderingIntent.cs b/src/UglyToad.PdfPig/Graphics/Operations/General/SetColorRenderingIntent.cs index b8d14bdd..d5e1c5ab 100644 --- a/src/UglyToad.PdfPig/Graphics/Operations/General/SetColorRenderingIntent.cs +++ b/src/UglyToad.PdfPig/Graphics/Operations/General/SetColorRenderingIntent.cs @@ -3,6 +3,7 @@ using System; using System.IO; using Tokens; + using UglyToad.PdfPig.Graphics.Core; /// /// @@ -35,7 +36,7 @@ /// public void Run(IOperationContext operationContext) { - + operationContext.GetCurrentState().RenderingIntent = RenderingIntentExtensions.ToRenderingIntent(RenderingIntent); } ///