hawadi
Posts: 0
Joined: Thu Mar 26, 2015 11:41 pm

Remark or annotation on images

Hello,

I have a question that I can't seem to find anywhere online.
Is there a way in Appery to upload an image via the camera or gallery and then add dots (or something else) when you click on a certain point on that image. I've tried using different js libraries but they're all for browsers with mouses etc.

Does anyone over here have an idea where I can look for this or maybe has the code already and would like to share?

Thank you very much!
Hawadi.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Remark or annotation on images

Hello Hawadi,

You can use canvas for this functionality.

  • Set image from camera/gallery to the canvas;

  • Write a dot/line on this canvas on a touch event;

    There are a lot of libraries for work with canvas.

hawadi
Posts: 0
Joined: Thu Mar 26, 2015 11:41 pm

Remark or annotation on images

Thank you Sergiy! I found a useful JS library to work with.
For anyone in need of this: I'm gonna write out the code and post it here afterwords.

Return to “Issues”