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 };