0

I have this image, that is white, but there is some black text on it (and a square), and I want to replace the white with another image. How do I do this in node-canvas? I checked out the documentation but there isn't a layer feature, so how can I accomplish that without layers?

I also don't want to use applyText or anything like that because I've already got all the images done :/.

Mxm
  • 97
  • 1
  • 13
  • 1
    what have you tried so far? – Ullas Hunka Jul 10 '18 at 12:05
  • Welcome to Stack Overflow. Please show your latest non-working attempt at solving this problem. It is usually more instructive to see fixes to your code than to read someone else's solution. See https://stackoverflow.com/help/how-to-ask – Spangen Jul 10 '18 at 12:08
  • I'm new to canvas (haven't used the HTML5 canvas either), the only thing I tried was drawing the backgrond image before the "almost white" image, which did not work (obviously). – Mxm Jul 10 '18 at 12:10

0 Answers0