SKBitmap and DPI

GMGMGMGM ARMember

I'm just starting with SkiaSharp within a .NET Core projects. After creating a bitmap with SKBitmap, I need to save it to PNG with a given DPI resolution. At the moment, I'm saving the bitmap to png by using bmp.Encode(stream, SKEncodedImageFormat.Png, 100); which is saving the png with 96dpi... Is it possible to set the output DPI?

Answers

Sign In or Register to comment.