timtnleeProject / vuejs-clipper

Vue.js image clipping components using Vue-Rx.
https://timtnleeproject.github.io/vuejs-clipper/#/
MIT License
208 stars 32 forks source link

Request Flipping and Mirroring features #90

Closed sun-lau closed 3 years ago

sun-lau commented 3 years ago

When trying input setWH$(-1), unexpected result will come out. The dragging will operate in wrong way, and actually the canvas image is not flipped/ mirrored

The sequence of flipping / mirroring step matters, it cannot be done after the positioning and scaling. Thus, it cannot be implemented on canvas after using vuejs-clipper.

timtnleeProject commented 3 years ago

Hi @sun-lau , setWH$(-1) represent the scaling of the image, -1 is a invalid value, it should > 0.