ngx-image-zoom icon indicating copy to clipboard operation
ngx-image-zoom copied to clipboard

Can't Apply zooming on Canvas Elements

Open PARULAGRAWALdei opened this issue 5 years ago • 4 comments

I am using canvas element to display background images and draw some stuffs which is possible on canvas only,and then i want to zoom that canvas images. But with this library it isn't possible. How it can be done? Can any 1 please explain it.

PARULAGRAWALdei avatar Aug 08 '18 07:08 PARULAGRAWALdei

Currently this module creates its own <img tags to work with and so I don't think that would work with a canvas. So in its current state I'd say it's not possible. I'd be happy to see a pull request extending it with features that would support canvas. Otherwise I'll keep this around as a feature request, but it'd likely take me quite some time to get around to this as I have several other feature I'd like to get around to first.

wittlock avatar Aug 17 '18 10:08 wittlock

I achieved this task by displaying ngx image on canvas image with relative path and then zooming the ngx-image and moving canvas image in background , i don't know if this will help you in module development, but if you need any help wittlock how i did it, let me know i will explain how i achieved it.

megh10256 avatar Dec 13 '18 11:12 megh10256

Still the enhancement in progress or its going to take long to complete zooming on canvas images?

megh10256 avatar Mar 27 '19 10:03 megh10256

@megh10256 Can you please help me how can we use ngx-image-zoom within canvas?

hparth avatar Jan 12 '22 05:01 hparth