mirror of
https://github.com/servo/servo.git
synced 2025-06-12 10:24:43 +00:00
Update to image 0.24.2, implement WebP support <!-- Please describe your changes on the following line: --> This PR updates image to 0.24.2 and implements WebP support. I've been watching the progress on image-rs's WebP implementation, and from what I've seen, the situation has changed from "can only decode the luma channel from lossy WebPs" to pretty much full support (with image 0.24.2 implementing support for the extended WebP format). Here are screenshots of it viewing the WebP page's example: <details> <summary>Screenshots</summary> Servo viewing the main WebP gallery:  Servo viewing a lossless example from WebP's Lossless and Alpha Demonstration:  Servo viewing a lossy-with-alpha example from WebP's Lossless and Alpha Demonstration  </details> This also changes the package name from `piston_image` to simply `image`. It appeared to be a piece of legacy from ages ago which can be safely changed now. (PS: I'm still pretty new at Rust, please let me know if I have done any mistakes in the process) --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #20045 (GitHub issue number if applicable) <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> |
||
---|---|---|
.. | ||
image | ||
tests | ||
blob_url_store.rs | ||
Cargo.toml | ||
filemanager_thread.rs | ||
image_cache.rs | ||
lib.rs | ||
pub_domains.rs | ||
quality.rs | ||
request.rs | ||
response.rs | ||
storage_thread.rs |