-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Animated GIFs #183
Comments
You mean only animated GIFs and not animated PNGs (APNGs) like this one? For me PNG format is far superior to GIF format and support for animated PNGs would be great. |
Yeah for now only GIFs, since APNG is interesting, but I expect it to require writing more code to extract the animation information and additional frames from the PNG chunks. |
@skyjake There is a patch for APNG support in stb_image.h, can't you use it? |
I likely could use that, but I'd rather stick to the unmodified stb_image.h from the main nothings repository, as there is no guarantee this patch will be updated whenever the main stb_image.h is updated. I see this as quite a low priority feature. On the whole, I'd rather invest my time into better external viewer integration (#135). |
The inline image viewer can load GIF images, but animated ones need additional work. Fortunately in v1.2, media handling was generalized a bit so a new type of media player could be added for animated images.
Here's a helpful reference: https://gist.github.com/urraka/685d9a6340b26b830d49
The text was updated successfully, but these errors were encountered: