Serialize images as base64 by rounding channels from floats to u8 (#1120)

Serialise images as base64
This commit is contained in:
0HyperCube
2023-04-13 12:03:25 -07:00
committed by GitHub
parent 49330fef19
commit e60e621aae
12 changed files with 117 additions and 100 deletions
-4
View File
@@ -51,10 +51,6 @@ pub enum Operation {
transform: [f64; 6],
network: graph_craft::document::NodeNetwork,
},
SetNodeGraphFrameImageData {
layer_path: Vec<LayerId>,
image_data: Vec<u8>,
},
/// Sets a blob URL as the image source for an Image or Imaginate layer type.
/// **Be sure to call `FrontendMessage::TriggerRevokeBlobUrl` together with this.**
SetLayerBlobUrl {