These are chat archives for matiasgagliano/guillotine

2nd
Sep 2016
VCardWEb
@VCardWEb
Sep 02 2016 03:03
Hi again, @matiasgagliano nop, that didn't worked, what I mean is that, adding the scale works but not for the final result... say that, what I need as final result is an image of, 676 x 459px with cropping, scale and rotation already applied, so, the "original" image on screen is 1036 x 615, the space when the image is begin display is div with 676x459px, so when I send the information for final result, the with of the image is 1036 $data['scale']... doesn't work.. then I change it to 676 $data['scale'] ... didn't work either... so then I manage to capture the 64base code of the image by using html2canvas to whatever is on the div.frame, this almost work, the problem with that is that if the image is rotated I get a transparent space all around the final image...
Matías Gagliano
@matiasgagliano
Sep 02 2016 03:12
1036 * $data['scale'] should work to set the scaled width, we need to see how you are applying the rotation and cropping after that. Write me a private message and I'll try to help you with this one.
VCardWEb
@VCardWEb
Sep 02 2016 03:29
I think I know what the problem is... after image has been manipulated the user hits "save' and the image gets resized before anything else, which this function was on another class that I didn't know existed, I just find it, i was looking line by line on my controller... I'm gonna make some changes and see if that fix it, thank you @matiasgagliano
Matías Gagliano
@matiasgagliano
Sep 02 2016 03:55
OK, you are welcome.