Skip to content

Commit

Permalink
Update Obsolete message
Browse files Browse the repository at this point in the history
  • Loading branch information
sungaila committed Oct 18, 2024
1 parent 3815050 commit 0acb35e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PDFtoImage/Internals/SKBitmapExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace PDFtoImage.Internals
{
internal static class SKBitmapExtensions
{
[Obsolete("This is a workaround for the missing PNG compression in SkiaSharp 3.x. Remove this once SkiaSharp is fixed.")]
[Obsolete("This is a workaround for the missing PNG compression in SkiaSharp 3.x. Remove this once SkiaSharp is fixed. See GitHub issue: https://github.com/mono/SkiaSharp/issues/3013")]

Check warning on line 9 in src/PDFtoImage/Internals/SKBitmapExtensions.cs

View workflow job for this annotation

GitHub Actions / SonarCloud

Do not forget to remove this deprecated code someday. (https://rules.sonarsource.com/csharp/RSPEC-1133)
public static bool EncodeExt(this SKBitmap bitmap, Stream dst, SKEncodedImageFormat format, int quality)
{
if (format == SKEncodedImageFormat.Png)
Expand Down

0 comments on commit 0acb35e

Please sign in to comment.