fisheye.js icon indicating copy to clipboard operation
fisheye.js copied to clipboard

Image cut top-bottom

Open razvanphp opened this issue 8 years ago • 1 comments

Hey, thanks again for this great script.

I've found a small bug, when the image is is not square, the distorsion goes outside of the canvas size, cutting a little bit from the top and bottom.

Here's a screenshot: screen shot 2018-02-27 at 14 12 04

razvanphp avatar Feb 27 '18 13:02 razvanphp

I think the best solution to this is to expose a method that returns the dimensions of the distorted image, that way the desired canvas can be provided to the library. I'll look into this.

ericleong avatar Feb 28 '18 06:02 ericleong