user3168150 user3168150 -5 years ago 449
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);
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download