user3168150 user3168150 - 1 year ago 262
AngularJS Question

How to add text over the image?

Hi I am planning to develop image editor application using (ionic , angular,Cordova),the application which is used to get image and add some text over the image and Share... I did not find correct idea till now can anybody help me out ....

Answer Source

Hi I solved this problem with following code

Using Canvas

var bb = function(){
     context.drawImage(imageurl, 10, 10);
     context.font = "40pt Calibri";
     context.fillText("This is the text added", 20, 20);