diff --git a/nuget/OpenCvSharp4.nuspec b/nuget/OpenCvSharp4.nuspec
index 6e401a1c3..80d03d7a3 100644
--- a/nuget/OpenCvSharp4.nuspec
+++ b/nuget/OpenCvSharp4.nuspec
@@ -17,29 +17,29 @@
-
+
-
+
-
+
-
+
-
+
diff --git a/src/OpenCvSharp.Extensions/OpenCvSharp.Extensions.csproj b/src/OpenCvSharp.Extensions/OpenCvSharp.Extensions.csproj
index 92b342d06..735761e54 100644
--- a/src/OpenCvSharp.Extensions/OpenCvSharp.Extensions.csproj
+++ b/src/OpenCvSharp.Extensions/OpenCvSharp.Extensions.csproj
@@ -40,7 +40,7 @@
- 5.0.1
+ 5.0.2
diff --git a/src/OpenCvSharp.WpfExtensions/OpenCvSharp.WpfExtensions.csproj b/src/OpenCvSharp.WpfExtensions/OpenCvSharp.WpfExtensions.csproj
index 4b692bcb0..b21249aff 100644
--- a/src/OpenCvSharp.WpfExtensions/OpenCvSharp.WpfExtensions.csproj
+++ b/src/OpenCvSharp.WpfExtensions/OpenCvSharp.WpfExtensions.csproj
@@ -42,7 +42,7 @@
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
diff --git a/src/OpenCvSharp/Modules/imgcodecs/Enum/ImwriteFlags.cs b/src/OpenCvSharp/Modules/imgcodecs/Enum/ImwriteFlags.cs
index 16ccbecb3..bb120aecf 100644
--- a/src/OpenCvSharp/Modules/imgcodecs/Enum/ImwriteFlags.cs
+++ b/src/OpenCvSharp/Modules/imgcodecs/Enum/ImwriteFlags.cs
@@ -85,6 +85,20 @@ public enum ImwriteFlags
///
/// For TIFF, use to specify the Y direction DPI
///
- TiffYDpi = 258
+ TiffYDpi = 258,
+
+ ///
+ /// For TIFF, use to specify the image compression scheme.
+ /// See libtiff for integer constants corresponding to compression formats.
+ /// Note, for images whose depth is CV_32F, only libtiff's SGILOG compression scheme is used.
+ /// For other supported depths, the compression scheme can be specified by this flag; LZW compression is the default.
+ ///
+ TiffCompression = 259,
+
+ ///
+ /// For JPEG2000, use to specify the target compression rate (multiplied by 1000).
+ /// The value can be from 0 to 1000. Default is 1000.
+ ///
+ Jpeg2000CompressionX1000 = 272
}
}
diff --git a/test/OpenCvSharp.Tests/OpenCvSharp.Tests.csproj b/test/OpenCvSharp.Tests/OpenCvSharp.Tests.csproj
index f1fcd2190..516990f3d 100644
--- a/test/OpenCvSharp.Tests/OpenCvSharp.Tests.csproj
+++ b/test/OpenCvSharp.Tests/OpenCvSharp.Tests.csproj
@@ -53,7 +53,7 @@
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+