diff options
| author | Laurenz <laurmaedje@gmail.com> | 2025-02-04 10:38:31 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-04 09:38:31 +0000 |
| commit | 50ccd7d60f078f3617bfed5c4e8e1fd7d45ec340 (patch) | |
| tree | 22c12abf76d2b2c20b49b569167ddf60fbe5b348 /crates/typst-library/src/visualize/image | |
| parent | 5b3593e571826ae44a3aeb0e0f6f09face7291ac (diff) | |
Scope deprecations (#5798)
Diffstat (limited to 'crates/typst-library/src/visualize/image')
| -rw-r--r-- | crates/typst-library/src/visualize/image/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/typst-library/src/visualize/image/mod.rs b/crates/typst-library/src/visualize/image/mod.rs index 07ebdabe..9306eb6f 100644 --- a/crates/typst-library/src/visualize/image/mod.rs +++ b/crates/typst-library/src/visualize/image/mod.rs @@ -171,6 +171,7 @@ impl ImageElem { /// #image.decode(changed) /// ``` #[func(title = "Decode Image")] + #[deprecated = "`image.decode` is deprecated, directly pass bytes to `image` instead"] pub fn decode( span: Span, /// The data to decode as an image. Can be a string for SVGs. |
