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

Add support for loading images #10

Open
tuupola opened this issue Apr 19, 2020 · 2 comments
Open

Add support for loading images #10

tuupola opened this issue Apr 19, 2020 · 2 comments

Comments

@tuupola
Copy link
Owner

tuupola commented Apr 19, 2020

https://github.com/kikuchan/pngle
http://elm-chan.org/fsw/tjpgd/00index.html

@RobLoach
Copy link

Of course, stb image is an option too https://github.com/nothings/stb/blob/master/stb_image.h

@oclyke
Copy link

oclyke commented Oct 7, 2022

Is the goal here to add compatibility with other libraries or to engulf another library to get built-in support?

I would argue in favor of the first option so as to keep HAGL as platform-independent as possible. Perhaps methods like load_from_pngle() and load_from_stb() and load_from_X() could enable the interface.

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

3 participants