Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thumbnails for the layer node #1210

Merged
merged 10 commits into from
May 18, 2023
Merged

Thumbnails for the layer node #1210

merged 10 commits into from
May 18, 2023

Conversation

0HyperCube
Copy link
Member

@0HyperCube 0HyperCube commented May 11, 2023

Closes #1211

Thumbnails in the node graph - building on TrueDoctor's node graph introspection mechanism.

ToDo:

  • Vector thumbnails
  • Image frame thumbnails
  • Group thumbnails

Styling as part of #1175

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented May 12, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 21448ee
Status: ✅  Deploy successful!
Preview URL: https://4be73686.graphite.pages.dev
Branch Preview URL: https://layer-thumbnails.graphite.pages.dev

View logs

@github-actions
Copy link

github-actions bot commented May 12, 2023

Deploy Preview ready!

Name Link
🔨 Latest commit 88c4713
🔍 Latest deploy log https://github.com/GraphiteEditor/Graphite/actions/runs/5010433599
😎 Deploy Preview Url https://0c84f711.graphite.pages.dev
🌳 Environment production

let uuid = generate_uuid();
render.svg.push(SvgSegment::BlobUrl(uuid));
render.svg.push("\" />".into());
render.image_data.push((uuid, self.image.clone()))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ChatGPT recommends this, is it applicable?

image

Copy link
Member

@Keavon Keavon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fantastic. Merging this now. Feel free to check out and respond to the one comment I left if it's relevant.

@Keavon Keavon merged commit 88c4713 into master May 18, 2023
@Keavon Keavon deleted the layer-thumbnails branch May 18, 2023 04:12
TrueDoctor pushed a commit that referenced this pull request May 23, 2023
* 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 <[email protected]>
Keavon added a commit that referenced this pull request Jul 30, 2023
* 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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Display layer thumbnails in the node graph
3 participants