iced icon indicating copy to clipboard operation
iced copied to clipboard

Draw raster images in `Canvas`

Open savente93 opened this issue 3 years ago • 2 comments

I've been trying to make an app that can make simple image annotations. As far as I can see Image doesn't impl Layer, meaning that I can't add it to a Canvas. This seems like a good thing to me, especially since a "paint clone" is mentioned in the Roadmap? I'm wondering how easy this would be to implement, and whether this would be the correct way to go about it, or whether there is an easier way. If it's not too complicated, I'd be willing to try and make a PR for it. Thoughts?

savente93 avatar Oct 27 '20 07:10 savente93

I would like a Frame.draw_image(imageRect, canvasRect) function, much like the function in js's canvas

tinaun avatar Oct 31 '20 21:10 tinaun

Hi, I wanted to see if there was any update on this, or if someone had found a workaround for it? This is a blocker for the project I'm currently working on, where I want to render an RGB image as the base layer in a canvas, then draw annotations, grids, etc. on top of it.

shssoichiro avatar Jun 15 '22 10:06 shssoichiro

Hi, I'm also looking for this. Is there any update on this?

hardesh avatar May 01 '23 13:05 hardesh