mono / SkiaSharp

SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.
MIT License
4.28k stars 531 forks source link

[BUG] Can't support new version of Sony ARW raw images #1565

Open gfeng85 opened 3 years ago

gfeng85 commented 3 years ago

SkiaSharp Can't support new version of Sony ARW raw images (e.g token by Sony a7m3 Camera). but old version of ARW can support well (e.g token by Sony a7r2 Camera).

My code like this:

var stream = new SKFileStream("/PathOfArwFile/ArwFileName.ARW") var codec = SKCodec.Create(stream)

when the ArwFileName.ARW is token by Sony a7m3 Camera, codec will be null.

gfeng85 commented 2 years ago

I upload two example file: https://github.com/gfeng85/BugsForSkiaSharp can it be fixed?