diff options
Diffstat (limited to 'UVtools.Core/FileFormats/UVJFile.cs')
-rw-r--r-- | UVtools.Core/FileFormats/UVJFile.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UVtools.Core/FileFormats/UVJFile.cs b/UVtools.Core/FileFormats/UVJFile.cs index b38ad2f..0e9b4b7 100644 --- a/UVtools.Core/FileFormats/UVJFile.cs +++ b/UVtools.Core/FileFormats/UVJFile.cs @@ -396,7 +396,7 @@ namespace UVtools.Core.FileFormats { using (Stream stream = entry.Open()) { - Mat image = new Mat(); + Mat image = new(); CvInvoke.Imdecode(stream.ToArray(), ImreadModes.AnyColor, image); Thumbnails[0] = image; stream.Close(); @@ -407,7 +407,7 @@ namespace UVtools.Core.FileFormats if (entry is not null) { using Stream stream = entry.Open(); - Mat image = new Mat(); + Mat image = new(); CvInvoke.Imdecode(stream.ToArray(), ImreadModes.AnyColor, image); Thumbnails[1] = image; stream.Close(); |