Skip to content

Commit

Permalink
backend: Image: Dont panic with image::load_from_memory_with_format
Browse files Browse the repository at this point in the history
Write images to PNG so GTK doesn't fail wit WebP

Related to #33 and #52
  • Loading branch information
rafaelmardojai committed Feb 24, 2023
1 parent a4184f2 commit a68dd04
Show file tree
Hide file tree
Showing 4 changed files with 156 additions and 79 deletions.
173 changes: 123 additions & 50 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2018"

[dependencies]
adw = { package = "libadwaita", version = "0.3" }
image = "0.23"
image = "0.24"
log = "0.4"
pretty_env_logger = "0.4"
gettext-rs = { version = "0.6", features = ["gettext-system"] }
Expand Down
Loading

0 comments on commit a68dd04

Please sign in to comment.