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

OpenFL 5.0.0 – BitmapData.fromBytes() not working. #1563

Closed
wildfireheart opened this issue May 6, 2017 · 1 comment
Closed

OpenFL 5.0.0 – BitmapData.fromBytes() not working. #1563

wildfireheart opened this issue May 6, 2017 · 1 comment
Milestone

Comments

@wildfireheart
Copy link
Contributor

BitmapData.fromBytes()returning empty BitmapData with 0 size. Testing with latest Lime (4.1.0) on Mac native target. I tested it only with PNG so far.

@jgranick
Copy link
Member

jgranick commented May 8, 2017

Should be fixed

We changed some things internally to better account for HTML5 needing asynchronous callbacks to load images from bytes and base64 data, but this hurt BitmapData.fromBytes on sys platforms that don't need the extra time.

Hopefully this should be a better compromise now 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants