0

I have object(chair) in .png file and I am changing its color on browser from jquery by changing background color and it is working fine.

This is output of after changing the color of chair

My question is now I am trying to save this change colored chair image by using html2canvas js library, but it saves image without background effect of changing color.

and this is output of saved image after changing color of chair

My code of convert html to canvas image by using html2canvas library of version 1.0.0-alpha.12 is here :

html2canvas($("#chair")[0]).then(function(canvas) {
  $("#element-out").append(canvas);
});

Help me to save image with background effects of changing color of chair. Thankyou!

Aashir Haque
  • 153
  • 1
  • 2
  • 12

0 Answers0