You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0277]: the trait bound `Writer<BytesMut>: Seek` is not satisfied
--> src/main.rs:70:22
|
70 | img.write_to(&mut out, out_format).expect("image encoded");
| -------- ^^^^^^^^ the trait `Seek` is not implemented for `Writer<BytesMut>`
| |
| required by a bound introduced by this call
|
= help: the following other types implement trait `Seek`:
&File
&mut S
Box<S>
BufReader<R>
BufWriter<W>
File
std::io::Cursor<T>
std::io::Empty
note: required by a bound in `DynamicImage::write_to`
--> /Users/marco-bunker/.cargo/registry/src/github.com-1ecc6299db9ec823/image-0.24.4/./src/dynimage.rs:809:32
|
809 | pub fn write_to<W: Write + Seek, F: Into<ImageOutputFormat>>(
| ^^^^ required by this bound in `DynamicImage::write_to`
For more information about this error, try `rustc --explain E0277`.
The text was updated successfully, but these errors were encountered:
marcomastri
changed the title
image-rs example not working wit newer versions of image
image-rs example not working with newer versions of image
Oct 4, 2022
See image-rs/image#1477
The text was updated successfully, but these errors were encountered: