SkiaSharp icon indicating copy to clipboard operation
SkiaSharp copied to clipboard

[BUG] Unable to load attached image

Open bucheronbanlieusard opened this issue 3 years ago • 2 comments

Description Image is loading correctly in pbrush & paint.net but not with SkiaSharp. There is nothing special about the picture. Was taken from an android phone.

Code

using (var managedStream = new SKManagedStream(stream, false)) { using (var codec = SKCodec.Create(managedStream)) { // codec is null here } }

Basic Information

  • Version with issue: 2.88.3

2022-12-15-16-17-06-1000009995

bucheronbanlieusard avatar Dec 16 '22 21:12 bucheronbanlieusard

Very interesting fact that Chrome isn't able to load it. I have more than one of these images, doesn't seem to be just a corrupted image.

Use Save link as... to download the picture and to open it.

bucheronbanlieusard avatar Dec 16 '22 21:12 bucheronbanlieusard

This is not a jpg file, this is HEIC file, which isn't supported. (e.g. In windows it's not supported without 3rd party codecs/software).

themcoo avatar Dec 19 '22 19:12 themcoo