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:
authorTiago Conceição <Tiago_caza@hotmail.com>2021-10-04 08:28:17 +0300
committerTiago Conceição <Tiago_caza@hotmail.com>2021-10-04 08:28:17 +0300
commitcb62a9e243d8ba7044cc84e171cee4787512a30a (patch)
tree753f59562bbcb2dd5d5682d0b59a4395ddf05ac0
parent6f97f2e4ff46a270b339c06e9394dbec8fcc5a23 (diff)
v2.23.4v2.23.4
- (Fix) RGB images was preventing file open/save/convertion
-rw-r--r--CHANGELOG.md4
-rw-r--r--UVtools.Core/Extensions/EmguExtensions.cs2
-rw-r--r--UVtools.Core/UVtools.Core.csproj2
-rw-r--r--UVtools.WPF/UVtools.WPF.csproj2
4 files changed, 7 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f8b5f3c..9f6eac6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
# Changelog
+## 04/10/2021 - v2.23.4
+
+- (Fix) RGB images was preventing file open/save/convertion
+
## 04/10/2021 - v2.23.3
- **Pixel arithmetic**
diff --git a/UVtools.Core/Extensions/EmguExtensions.cs b/UVtools.Core/Extensions/EmguExtensions.cs
index efb7327..35ae468 100644
--- a/UVtools.Core/Extensions/EmguExtensions.cs
+++ b/UVtools.Core/Extensions/EmguExtensions.cs
@@ -329,7 +329,7 @@ namespace UVtools.Core.Extensions
/// <returns>The total length of this <see cref="Mat"/></returns>
public static int GetLength(this Mat mat)
{
- return mat.Total.ToInt32();
+ return mat.Total.ToInt32() * mat.NumberOfChannels;
}
/// <summary>
diff --git a/UVtools.Core/UVtools.Core.csproj b/UVtools.Core/UVtools.Core.csproj
index 1f8f028..4fcd3ee 100644
--- a/UVtools.Core/UVtools.Core.csproj
+++ b/UVtools.Core/UVtools.Core.csproj
@@ -10,7 +10,7 @@
<RepositoryUrl>https://github.com/sn4k3/UVtools</RepositoryUrl>
<PackageProjectUrl>https://github.com/sn4k3/UVtools</PackageProjectUrl>
<Description>MSLA/DLP, file analysis, calibration, repair, conversion and manipulation</Description>
- <Version>2.23.3</Version>
+ <Version>2.23.4</Version>
<Copyright>Copyright © 2020 PTRTECH</Copyright>
<PackageIcon>UVtools.png</PackageIcon>
<Platforms>AnyCPU;x64</Platforms>
diff --git a/UVtools.WPF/UVtools.WPF.csproj b/UVtools.WPF/UVtools.WPF.csproj
index 337e15e..07f8ebd 100644
--- a/UVtools.WPF/UVtools.WPF.csproj
+++ b/UVtools.WPF/UVtools.WPF.csproj
@@ -12,7 +12,7 @@
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<RepositoryUrl>https://github.com/sn4k3/UVtools</RepositoryUrl>
<RepositoryType>Git</RepositoryType>
- <Version>2.23.3</Version>
+ <Version>2.23.4</Version>
<Platforms>AnyCPU;x64</Platforms>
</PropertyGroup>