[Feature Request]: APNG Support #2552

Closed
opened 2026-02-05 04:29:21 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @paviro on GitHub (Jan 1, 2022).

Describe the feature you'd like

It would be amazing if Bookstack could support animated PNG graphics.

Describe the benefits this feature would bring to BookStack users

Another supported format for animated graphics that has better color etc. than gif is useful IMHO.

Additional context

Currently the generated scaled version of uploaded images looses the animation when using apng.

Originally created by @paviro on GitHub (Jan 1, 2022). ### Describe the feature you'd like It would be amazing if Bookstack could support animated PNG graphics. ### Describe the benefits this feature would bring to BookStack users Another supported format for animated graphics that has better color etc. than gif is useful IMHO. ### Additional context Currently the generated scaled version of uploaded images looses the animation when using apng.
OVERLORD added the 🔨 Feature Request label 2026-02-05 04:29:21 +03:00
Author
Owner

@mecco86 commented on GitHub (Jan 2, 2022):

hello i've a problem with this modules after update a last version MagicMirror with node.

@mecco86 commented on GitHub (Jan 2, 2022): hello i've a problem with this modules after update a last version MagicMirror with node.
Author
Owner

@ssddanbrown commented on GitHub (Jan 4, 2022):

Thanks for the request @paviro, I've made some changes in 31f1dca8a8 to better support apng images. The generated "display" thumbnails will now be bypassed for files detected as apng to serve the originally uploaded image. This is what we do already for GIFs although APNGs proved trickier due to having the same extension and mime as normal png images.

Note: this may not work with already-upload apng images, only new ones.

This will be part of the next patch release, v21.12.1 so will therefore close this off.

@mecco86 To be honest I'm not sure what you're referring to in regards to node or MagicMirror. Neither of those terms are in discussion here. Feel free to open a new support/bug-report issue if you're having a BookStack specific issue.

@ssddanbrown commented on GitHub (Jan 4, 2022): Thanks for the request @paviro, I've made some changes in 31f1dca8a81e70aa8b5598fdaf4af772a28ac9c9 to better support apng images. The generated "display" thumbnails will now be bypassed for files detected as apng to serve the originally uploaded image. This is what we do already for GIFs although APNGs proved trickier due to having the same extension and mime as normal png images. Note: this may not work with already-upload apng images, only new ones. This will be part of the next patch release, v21.12.1 so will therefore close this off. @mecco86 To be honest I'm not sure what you're referring to in regards to node or MagicMirror. Neither of those terms are in discussion here. Feel free to open a new support/bug-report issue if you're having a BookStack specific issue.
Author
Owner

@paviro commented on GitHub (Jan 4, 2022):

Awesome thank you very much @ssddanbrown for the quick addition!

@paviro commented on GitHub (Jan 4, 2022): Awesome thank you very much @ssddanbrown for the quick addition!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2552