user3168150 user3168150 - 5 months ago 129
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

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);
 };