Thumbnails for the layer node (#1210)

* Thumbnails for the layer node

* Raster node graph frames

* Downscale to a random resolution

* Cleanup and bug fixes

* Generate paths before duplicating outputs

* Fix stable id test

* Code review changes

* Code review pass with minor changes

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
0HyperCube
2023-05-17 21:12:50 -07:00
committed by GitHub
co-authored by Keavon Chambers
parent d76bd36447
commit 88c4713e75
24 changed files with 609 additions and 131 deletions
+1
View File
@@ -102,6 +102,7 @@ fn handle_message(message: String) -> String {
images.insert(format!("{:?}_{}", &image.path, document_id), image);
stub_data.push(FrontendImageData {
path,
node_id: None,
mime,
image_data: Arc::new(Vec::new()),
transform,