ceramic-engine / ceramic

Cross-platform 2D framework written in Haxe that can export natively to desktop (windows, mac, linux), mobile (ios, android), web (js + webgl) and to unity projects
MIT License
263 stars 22 forks source link

Add a way to load images from bytes #111

Closed jeremyfa closed 1 year ago

jeremyfa commented 1 year ago

A method like Texture.fromImageBytes(...); should be enough to cover that use case. Internals in Clay backend already provide ways to decode from bytes, so it's mostly a matter of exposing that to Ceramic API.

jeremyfa commented 1 year ago

Done.