Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] SKBitmap.Decode(string) returns null for some PNG files #2801

Open
1 task done
KWEngine opened this issue Mar 20, 2024 · 0 comments
Open
1 task done

[BUG] SKBitmap.Decode(string) returns null for some PNG files #2801

KWEngine opened this issue Mar 20, 2024 · 0 comments
Labels

Comments

@KWEngine
Copy link

Description

When extracting an embedded PNG texture from a 3d model file (FBX) and then loading that extracted file, SKBitmap.Decode(string) returns null. Other PNGs off the internet work flawlessly.

The attached PNG file works without problems in other applications (Photoshop, Irfanview, Windows Photo Viewer, etc.).

CubePBR_embedded fbx_MaterialPBR_ROUGHNESS-EMBEDDED_X

Code

No code needed (see description).

Expected Behavior

No response

Actual Behavior

No response

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

No response

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant