Skip to content

Commit

Permalink
Bump ravif version from 0.7.0 to 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
5225225 committed Oct 2, 2021
1 parent 702c1e7 commit c9ed0c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jpeg = { package = "jpeg-decoder", version = "0.1.22", default-features = false,
png = { version = "0.16.5", optional = true }
scoped_threadpool = { version = "0.1", optional = true }
tiff = { version = "0.6.0", optional = true }
ravif = { version = "0.7.0", optional = true }
ravif = { version = "0.8.0", optional = true }
rgb = { version = "0.8.25", optional = true }
mp4parse = { version = "0.11.5", optional = true }
dav1d = { version = "0.6.0", optional = true }
Expand Down
4 changes: 2 additions & 2 deletions src/codecs/avif/encoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ impl<W: Write> AvifEncoder<W> {
inner: w,
fallback: vec![],
config: Config {
quality,
alpha_quality: quality,
quality: f32::from(quality),
alpha_quality: f32::from(quality),
speed,
premultiplied_alpha: false,
color_space: ravif::ColorSpace::RGB,
Expand Down

0 comments on commit c9ed0c2

Please # to comment.