Currently On rotating the
image 90deg the image touches the right border
180deg it touches the bottom border
and at 270deg it touches the left border
Wanted the image position to be in the center after rotation
managed to get the image in the center by calculating and resetting the translate value on rotate but the data(data64..) required to export the image on the cropit preview does not change.
Currently On rotating the image 90deg the image touches the right border 180deg it touches the bottom border and at 270deg it touches the left border Wanted the image position to be in the center after rotation managed to get the image in the center by calculating and resetting the translate value on rotate but the data(data64..) required to export the image on the cropit preview does not change.
` HTML