From cde4cde7b638bee75ffa2c818c02f75b3bc2528f Mon Sep 17 00:00:00 2001 From: James A Sutherland Date: Tue, 10 Sep 2024 11:52:37 -0500 Subject: [PATCH] Update DicomFileRunner.cs Update for ImageMagick 14.0 API changes --- IsIdentifiable/Runners/DicomFileRunner.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IsIdentifiable/Runners/DicomFileRunner.cs b/IsIdentifiable/Runners/DicomFileRunner.cs index 56de28e2..22fcdde1 100644 --- a/IsIdentifiable/Runners/DicomFileRunner.cs +++ b/IsIdentifiable/Runners/DicomFileRunner.cs @@ -407,8 +407,8 @@ void ValidateDicomPixelData(IFileInfo fi, DicomFile dicomFile, DicomDataset ds, MagickReadSettings msett = new() { ColorType = ColorType.Grayscale, - Width = overlay.Columns, - Height = overlay.Rows, + Width = (uint?)overlay.Columns, + Height = (uint?)overlay.Rows, Depth = 8, Format = MagickFormat.Gray };