Lerc / canvas_tab

ComfyUI canvas editor page
BSD 2-Clause "Simplified" License
156 stars 19 forks source link

Feature request: Square selection tool, copy paste selection to various image canvas #12

Open Enlumis opened 8 months ago

Enlumis commented 8 months ago

Hello,

the title is self explanitory, would be nice to have a way of manipulating the pixels quickly, move them around using a move tool kinda like photoshop, i now its a big feature request and would be quite hard to implement. but i think that would make canvas tab even greater, or an easier idea would be to have only a selection tool, that allows you to put in a cache chunk of the images then have a cached item list ui somewhere, where you would be able to apply that cached chunk back to any image canvas via a simple click on that list. both idea have some pro and cond, but both idea would improve your ability to manipulate pixels to work in an iterative kind of workflow.

Lerc commented 8 months ago

Am currently working on this. I'm a bit bogged down in the matrix math for dragging a transform around by handles, making slow progress though

Pharoun commented 8 months ago

This would be a great addition to the canvas, drawing objects and moving them, or just move a layer's position i think would do it, great tool btw

Lerc commented 8 months ago

Latest update includes layer transform.

Cutting a portion of a layer still to do, In the meantime you can duplicate layers and erase the bits you don't want, it's a bit of a pain but will get you there until I add the selection tool.

hben35096 commented 3 weeks ago

Maybe it would be better not to limit the brush size to 48