Skip to content

APNG and WEBP animation export

Know Zero requested to merge knowzero/krita:knowzero/animation-formats into master

Krita currently supports only videos or 8bit gifs, this commit adds basic support for higher quality animated images such as APNG and WEBP

Resolves: #342479

The code should be ready as far as basic support goes. I do later hope to add more advanced features, but for the time being seeing any support for exporting webp and apng which is now supported by all modern browsers would be nice to have. I put it as WIP since this is my first commit. I tried to follow all the guides for a proper merge request to my knowledge, but as always with these things, there might be something I overlooked.

Test Plan

  1. Create an animation
  2. Export the animation as APNG
  3. Export the animation as WEBP
  4. Export the animation as GIF (since most of the code touched was the gif code)

Formalities Checklist

  • I confirmed this builds.
  • I confirmed Krita ran and the relevant functions work.
  • I tested the relevant unit tests and can confirm they are not broken. (If not possible, don't hesitate to ask for help!)
  • I made sure my commits build individually and have good descriptions as per KDE guidelines.
  • I made sure my code conforms to the standards set in the HACKING file.
  • I can confirm the code is licensed and attributed appropriately, and that unattributed code is mine, as per KDE Licensing Policy.
Edited by Know Zero

Merge request reports