mirror of
https://github.com/servo/servo.git
synced 2025-07-23 23:33:43 +01:00
Remove syn 0.15 from our crate graph (fixes #24421)
This required bumps of: * gleam * image * rust-webvr * webrender * webxr
This commit is contained in:
parent
756cf66cd2
commit
9996e48500
61 changed files with 219 additions and 187 deletions
|
@ -1583,7 +1583,7 @@ impl Handler {
|
|||
let rgb = RgbImage::from_raw(img.width, img.height, img.bytes.to_vec()).unwrap();
|
||||
let mut png_data = Vec::new();
|
||||
DynamicImage::ImageRgb8(rgb)
|
||||
.write_to(&mut png_data, ImageFormat::PNG)
|
||||
.write_to(&mut png_data, ImageFormat::Png)
|
||||
.unwrap();
|
||||
|
||||
Ok(base64::encode(&png_data))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue