Skip to content

Stb_image loading animated gifs #1578

Closed Answered by paulwratt
Platforming-Mayhem asked this question in Q&A
Discussion options

You must be logged in to vote

look in this project, its also used with zlib:
https://github.com/jart/cosmopolitan/blob/master/third_party/stb/stb_image.c

this is a tutorial on how to load images:
https://solarianprogrammer.com/2019/06/10/c-programming-reading-writing-images-stb_image-libraries/

I found this, TinyObjectLoader Viewer example:
https://android.googlesource.com/platform/external/tinyobjloader/+/HEAD/examples/viewer/stb_image.h

  Animated GIF still needs a proper API, but here's one way to do it:
     http://gist.github.com/urraka/685d9a6340b26b830d49

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Platforming-Mayhem
Comment options

Answer selected by Platforming-Mayhem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants