Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'UVtools.Core/FileFormats/UVJFile.cs')
-rw-r--r--UVtools.Core/FileFormats/UVJFile.cs4
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();