- (Fix) RGB images was preventing file open/save/convertion
This commit is contained in:
Tiago Conceição
2021-10-04 06:28:17 +01:00
parent 6f97f2e4ff
commit cb62a9e243
4 changed files with 7 additions and 3 deletions
+4
View File
@@ -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**
+1 -1
View File
@@ -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>
+1 -1
View File
@@ -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>
+1 -1
View File
@@ -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>