Skip to content

Commit

Permalink
Merge branch 'main' into release/3.0.0-preview.5
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow committed Oct 24, 2024
2 parents 60007d7 + 2f6bc01 commit 2bb6216
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 10 deletions.
34 changes: 25 additions & 9 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,24 @@ body:
label: Version of SkiaSharp
description: What version of SkiaSharp are you using?
options:
- 3.x (Alpha)
- 2.88.4-preview (Preview)
- 2.88.3 (Current)
- 2.88.2 (Previous)
- 3.x-preview.4 (Current Preview)
- 3.x-preview.3 (Previous Preview)
- 3.x-preview.2 (Deprecated)
- 3.x-preview.1 (Deprecated)
- 2.88.9-preview.1 (Preview)
- 2.88.8 (Current)
- 2.88.7 (Previous)
- 2.88.6 (Deprecated)
- 2.88.5 (Deprecated)
- 2.88.4 (Deprecated)
- 2.88.3 (Deprecated)
- 2.88.2 (Deprecated)
- 2.88.1 (Deprecated)
- 2.88.0 (Deprecated)
- 2.80.x (Deprecated)
- 2.80.x (Obsolete)
- 1.x (Obsolete)
- Other (Please indicate in the description)
default: 2
default: 6
- type: dropdown
id: goodversion
validations:
Expand All @@ -88,13 +96,21 @@ body:
label: Last Known Good Version of SkiaSharp
description: What version of SkiaSharp still did what you expected?
options:
- 2.88.2 (Previous)
- 3.x-preview.3 (Previous Preview)
- 3.x-preview.2 (Deprecated)
- 3.x-preview.1 (Deprecated)
- 2.88.7 (Previous)
- 2.88.6 (Deprecated)
- 2.88.5 (Deprecated)
- 2.88.4 (Deprecated)
- 2.88.3 (Deprecated)
- 2.88.2 (Deprecated)
- 2.88.1 (Deprecated)
- 2.88.0 (Deprecated)
- 2.80.x (Deprecated)
- 2.80.x (Obsolete)
- 1.x (Obsolete)
- Other (Please indicate in the description)
default: 0
default: 4
- type: dropdown
id: ide
validations:
Expand Down
2 changes: 1 addition & 1 deletion binding/SkiaSharp/SKPixmap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public bool Encode (SKWStream dst, SKEncodedImageFormat encoder, int quality) =>
SKEncodedImageFormat.Jpeg =>
Encode (dst, new SKJpegEncoderOptions (quality)),
SKEncodedImageFormat.Png =>
Encode (dst, new SKPngEncoderOptions ()),
Encode (dst, SKPngEncoderOptions.Default),
SKEncodedImageFormat.Webp when quality == 100 =>
Encode (dst, new SKWebpEncoderOptions (SKWebpEncoderCompression.Lossless, 75)),
SKEncodedImageFormat.Webp =>
Expand Down

0 comments on commit 2bb6216

Please sign in to comment.