Update tests and benches to the new encoder API
This commit is contained in:
parent
b461af81ac
commit
9d036bc64e
2 changed files with 2 additions and 2 deletions
|
|
@ -123,7 +123,7 @@ impl Codec for CodecQoiFast {
|
|||
}
|
||||
|
||||
fn encode(img: &Image) -> Result<Vec<u8>> {
|
||||
Ok(qoi_fast::qoi_encode_to_vec(&img.data, img.width, img.height, img.channels, 0)?)
|
||||
Ok(qoi_fast::qoi_encode_to_vec(&img.data, img.width, img.height)?)
|
||||
}
|
||||
|
||||
fn decode(data: &[u8], _img: &Image) -> Result<Vec<u8>> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue