Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image disappears when you try to flip the image. #7

Open
koropuxa opened this issue Nov 3, 2018 · 1 comment
Open

Image disappears when you try to flip the image. #7

koropuxa opened this issue Nov 3, 2018 · 1 comment

Comments

@koropuxa
Copy link

koropuxa commented Nov 3, 2018

First, just wanted to say thank you for this awesome script. This is the only one I could find that does a great job at perspective transform without any external libraries!
I have one little problem though. When the image is flipped horizontally or vertically, it just disappears.
Example: drag 2 left points to the right of the right points (flipping the points horizontally).
Ability to flip the image is crucial for my project and I just can't figure this out.
Any help appreciated.

@flozz
Copy link
Member

flozz commented Nov 5, 2018

Hello,

your issue seems to be the same as the one in #1, I will not be able to fix this...

Maybe you can use CSS 3D transform inside an SVG image and then print it on the canvas. This works fine with Firefox but Chrome has issue with this :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants