How to do images editing in ionic3?

Hello there,

I want to create responsive boxes on image by user. I mean user can select the objects in image. By tapping on image we need to show one responsive box and that can be responsive, i.e can increase or decrease.

Please help me how to implement it.

Thanks

See: Any image editing plugin/library available for Ionic 3?

Thanks for ur response. But i need to create responsive boxes and save on images, so that objects in image will be highlighted by using boxes or custom shapes. Can u please tell me how to that?

What have you tried so far? Have code examples of what you tried? Maybe show a picture of what you mean because…I’m not fully sure what it is you want. Touching an image in a certain spot like creates a square over the image?

Sure, In a image we need to select objects by creating boxes or custom shapes on our wish(as many we want), we alse need to remove the shapes if u dont want before saving image.The following is reference image, in that square boxes are created by user as many he want and he can remove also before saving image.

.

ya so you just want to use html canvas. Canvases can load images and then you can draw squares or any shape really on there. After that it’s going to be pretty custom to the user interface you want. But ya that’s it, load the image into a canvas, build a user interface where the user can select different tools and then draw the squares on there.

Thank you so much for ur suggestion, can we have any reference url or blog ?

Ya the mozilla docs are always a good place to start: https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API

That will probably get you everything you need to get started, just follow through each section listed in the sidebar:

You can see it covers drawing shapes, using images, and hit regions. Which together with some touch position code inside the canvas should give you everything you need, except the actual user interface you want to build with it.

You’d also need the ionic native image picker or camera plugin to load the image itself, but after that it should all work the same whether it’s ionic or just a responsive website.