diff --git a/ReFuel.StbImage.csproj b/ReFuel.StbImage.csproj index d31a27f..9c8708d 100644 --- a/ReFuel.StbImage.csproj +++ b/ReFuel.StbImage.csproj @@ -13,7 +13,7 @@ True ReFuel.StbImage - 2.0-rc + 2.0-rc.2 STBI Authors, H. Utku Maden A C# wrapper for the ubiquitous stb_image.h and stb_image_write.h library. diff --git a/StbImage.cs b/StbImage.cs index c3256fc..e12e9df 100644 --- a/StbImage.cs +++ b/StbImage.cs @@ -157,7 +157,7 @@ namespace ReFuel.Stb /// /// -1 for auto, 0 through 5 to pick a filter. Higher is more. Not thread safe. /// - public int WriteForcePngFilter + public static int WriteForcePngFilter { get => Stbi.write_force_png_filter; set @@ -177,7 +177,7 @@ namespace ReFuel.Stb /// /// Higher is more. Defaults to 8. Not thread safe. /// - public int WritePngCompressionLevel + public static int WritePngCompressionLevel { get => Stbi.write_png_compression_level; set => Stbi.write_png_compression_level = value; @@ -189,7 +189,7 @@ namespace ReFuel.Stb /// /// Not thread safe. /// - public bool WriteTgaEnableRLE + public static bool WriteTgaEnableRLE { get => Stbi.write_tga_with_rle != 0; set => Stbi.write_tga_with_rle = value ? 1 : 0;