Fix scaling while export#3694
Conversation
Update node_graph_executor.rs
e53c6df to
e49c7ee
Compare
|
I have fixed the issue for the desktop version from this discussion here , Happy to collaborate on this if you want |
Thanks, happy to collaborate on this |
|
Here is the PR , this fixes the desktop issue . Only you can merge this |
fix desktop png / jpeg exports
Cool! Thanks a lot. I think there is a small issue with your code. It cuts the image even with scale factor 1.(in the web app) |
Revert "fix desktop png / jpeg exports"
There was a problem hiding this comment.
https://discord.com/channels/731730685944922173/1210129484255076354/1465918687444734055
Still the issue from this discussion is not resolved
|
Marking as draft until the last comment here is resolved. |


Closes #3588
Earlier, using the scale factor of export configuration inside RenderConfig caused the viewBox to shrink.This meant the renderer produced artwork in a smaller logical coordinate space. Then It drew this small content in a large canvas , scaled up. Thats why we saw only the zoomed-in top-left corner. Now we use scale 1. instead of scale_factor. So the SVG viewBox matches the artwork’s true bounds.scale_factor is only used during calculation of frontend size
Before:
Screen.Recording.2026-01-28.at.1.30.15.AM.mov
After:
Screen.Recording.2026-01-28.at.1.41.18.AM.mov