wanadev / perspective.js

Transforms the perspective of an image and draw it on a canvas
Apache License 2.0
136 stars 27 forks source link

One image in perspective merged with other image #2

Closed gustavosapienza closed 8 years ago

gustavosapienza commented 8 years ago

Hi, how are you?

I have a big trouble, I'm using this component and I need to change one image to perspective and apply this to other one, how should i do?

This is the example: http://jsfiddle.net/gustavosapienza/b3mt48gv/

Thanks a lot!

flozz commented 8 years ago

Hello,

You can use 2 canvas or play with the global composite operations like this:

Regards,

gustavosapienza commented 8 years ago

Woooowwww

Great! You saved my life!

Thanks a lot!