Open creeperyang opened 7 years ago
For example, I have a completely transparent png file (A, size: 32x32), and a normal png file (B, size: 32x32).
A.paste(0,0,B, (err, newImg) => { // newImg's color data should equal B's color data })
Currently, the newImg has different color data.
newImg
For example, I have a completely transparent png file (A, size: 32x32), and a normal png file (B, size: 32x32).
Currently, the
newImg
has different color data.