mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-21 01:58:12 +08:00
Serialize images as base64 by rounding channels from floats to u8 (#1120)
Serialise images as base64
This commit is contained in:
committed by
Keavon Chambers
parent
79dade24e5
commit
0e97f352e9
@@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0"
|
||||
std = ["dyn-any", "dyn-any/std", "alloc", "glam/std", "specta"]
|
||||
default = ["async", "serde", "kurbo", "log", "std"]
|
||||
log = ["dep:log"]
|
||||
serde = ["dep:serde", "glam/serde", "bezier-rs/serde"]
|
||||
serde = ["dep:serde", "glam/serde", "bezier-rs/serde", "base64"]
|
||||
gpu = ["spirv-std", "bytemuck", "glam/bytemuck", "dyn-any", "glam/libm"]
|
||||
async = ["async-trait", "alloc"]
|
||||
nightly = []
|
||||
@@ -43,6 +43,7 @@ glam = { version = "^0.22", default-features = false, features = [
|
||||
"scalar-math",
|
||||
] }
|
||||
node-macro = { path = "../node-macro" }
|
||||
base64 = { version = "0.13", optional = true }
|
||||
specta.workspace = true
|
||||
specta.optional = true
|
||||
once_cell = { version = "1.17.0", default-features = false, optional = true }
|
||||
|
||||
Reference in New Issue
Block a user