SkiaSharp icon indicating copy to clipboard operation
SkiaSharp copied to clipboard

[BUG] 2.80.3 image decoder crash with rotated images

Open LucaCris opened this issue 3 years ago • 2 comments

using (var codec = SKCodec.Create(inputStream)) {
...
}

-> Exception: buffer cannot be null

Only if image has codec.EncodedOrigin != TopLeft

No issues reverting back to 2.80.2.

vertical

LucaCris avatar Jul 19 '21 09:07 LucaCris

I have the same issue. 2.80.2 works.

ignatiucnetinfo avatar Jul 26 '21 18:07 ignatiucnetinfo

@mattleibow you can't shift away a thing already working in the past, please...

LucaCris avatar May 27 '22 10:05 LucaCris

Can you still reproduce this with 2.88.3? Does the crash occur when loading from the file path as opposed to a stream?

LukePulverenti avatar Nov 11 '22 18:11 LukePulverenti

Can you still reproduce this with 2.88.3? Does the crash occur when loading from the file path as opposed to a stream?

I'm no more on this project... Now using GraphicsView wrapper.

LucaCris avatar Nov 12 '22 12:11 LucaCris