You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to load large .tif files, but they all fail. I've tried SKImage.FromEncodedData(Stream), SKImage.FromEncodedData(byte[]), SKImage.FromEncodedData(string), SKBitmap.Decode(Stream), SKBitmap.Decode(byte[]), SKBitmap.Decode(string), but they all return null for this image or crash with an ArgumentNullException Value cannot be null. (Parameter 'codec') at SkiaSharp.SKBitmap.Decode(SKCodec codec)
SKImage.FromEncodedData(Stream), SKImage.FromEncodedData(byte[]), SKImage.FromEncodedData(string), SKBitmap.Decode(Stream), SKBitmap.Decode(byte[]), SKBitmap.Decode(string) all don't work
Expected Behavior
These methods should not return null
Actual Behavior
All of these methods return null or crash with an ArgumentNullException
Version of SkiaSharp
2.88.3 (Current)
Last Known Good Version of SkiaSharp
Other (Please indicate in the description)
IDE / Editor
Visual Studio (Windows)
Platform / Operating System
Windows
Platform / Operating System Version
Windows 10.0.19045
Behaves the same on a different Windows 11 mashine, don't know the exact version number.
Devices
No response
Relevant Screenshots
No response
Relevant Log Output
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Description
I tried to load large .tif files, but they all fail. I've tried
SKImage.FromEncodedData(Stream)
,SKImage.FromEncodedData(byte[])
,SKImage.FromEncodedData(string)
,SKBitmap.Decode(Stream)
,SKBitmap.Decode(byte[])
,SKBitmap.Decode(string)
, but they all return null for this image or crash with an ArgumentNullExceptionValue cannot be null. (Parameter 'codec') at SkiaSharp.SKBitmap.Decode(SKCodec codec)
This image does not work:
C 7 142 18-0002.zip
Code
SKImage.FromEncodedData(Stream)
,SKImage.FromEncodedData(byte[])
,SKImage.FromEncodedData(string)
,SKBitmap.Decode(Stream)
,SKBitmap.Decode(byte[])
,SKBitmap.Decode(string)
all don't workExpected Behavior
These methods should not return null
Actual Behavior
All of these methods return null or crash with an ArgumentNullException
Version of SkiaSharp
2.88.3 (Current)
Last Known Good Version of SkiaSharp
Other (Please indicate in the description)
IDE / Editor
Visual Studio (Windows)
Platform / Operating System
Windows
Platform / Operating System Version
Windows 10.0.19045
Behaves the same on a different Windows 11 mashine, don't know the exact version number.
Devices
No response
Relevant Screenshots
No response
Relevant Log Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: