Skip to content

Commit

Permalink
[create-pull-request] automated change
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 28, 2022
1 parent 6ee5522 commit 52f2276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Graphics/src/Graphics.Skia/SkiaImage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public async Task SaveAsync(Stream stream, ImageFormat format = ImageFormat.Png,
private Stream GetSkStream(ImageFormat format, float quality)
{
// Skia quality range from 0-100, this is supported by jpeg and webp. Higher values correspond to improved visual quality, but less compression.
const int MaxSKQuality = 100;
const int MaxSKQuality = 100;
var skQuality = (int)(MaxSKQuality * quality);
SKEncodedImageFormat skEncodedImageFormat = format switch
{
Expand Down

0 comments on commit 52f2276

Please sign in to comment.