Skip to content

Commit

Permalink
allow saving images from window
Browse files Browse the repository at this point in the history
  • Loading branch information
kaikalii committed Nov 20, 2024
1 parent 704fbb4 commit 8834592
Show file tree
Hide file tree
Showing 3 changed files with 197 additions and 22 deletions.
143 changes: 128 additions & 15 deletions Cargo.lock

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

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ web-sys = {version = "0.3.60", optional = true}

# Window dependencies
eframe = {version = "0.29.1", optional = true, features = ["persistence"]}
native-dialog = {version = "0.7.0", optional = true}
rmp-serde = {version = "1.3.0", optional = true}

[features]
Expand Down Expand Up @@ -153,7 +154,7 @@ terminal_image = ["viuer", "image", "icy_sixel"]
tls = ["httparse", "rustls", "webpki-roots", "rustls-pemfile"]
web = ["wasm-bindgen", "js-sys", "web-sys"]
webcam = ["image", "uiua-nokhwa"]
window = ["eframe", "rmp-serde", "image"]
window = ["eframe", "rmp-serde", "image", "native-dialog"]
xlsx = ["calamine", "simple_excel_writer"]
# Use system static libraries instead of building them
system = ["libffi?/system"]
Expand Down
Loading

0 comments on commit 8834592

Please sign in to comment.