Skip to content

feat: add webp support#194

Closed
klausbrunner wants to merge 5 commits intor-lib:mainfrom
klausbrunner:webp
Closed

feat: add webp support#194
klausbrunner wants to merge 5 commits intor-lib:mainfrom
klausbrunner:webp

Conversation

@klausbrunner
Copy link
Contributor

@klausbrunner klausbrunner commented Jul 9, 2025

An initial stab at providing WebP support (as mentioned in #190) largely based on the existing PNG bits.

Testing has been very gentle so far, and only on MacOS. However, the basic functionality of writing out files (with and without transparency, with and without lossy compression) seems to work. No animation support.

Open issues:

  • Unlike PNG, there seems to be no built-in standard way of recording physical dimensions in webp images. Could add those as EXIF or XMP metadata perhaps.
  • Not sure how to fix that one failing Windows build.

@klausbrunner klausbrunner marked this pull request as ready for review July 10, 2025 08:04
@klausbrunner
Copy link
Contributor Author

OK, this has gotten a bit messy. Will close and resubmit.

@klausbrunner klausbrunner deleted the webp branch July 15, 2025 20:03
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

Successfully merging this pull request may close these issues.

1 participant