I have problem when resizing crop area. Especially then it is non-square - like 512x768.
If crop area goes beyoind image boundries, it is not resized in that direction, but still resized in the other:
The code:
if scaled_size[0] > self.scaled_width:
scaled_size = (self.scaled_width, self.scaled_width)
if scaled_size[1] > self.scaled_height:
scaled_size = (self.scaled_height, self.scaled_height)
I think this is mistake and you should set scaled_size = (self.scaled_width, self.scaled_height)
I have problem when resizing crop area. Especially then it is non-square - like 512x768.
If crop area goes beyoind image boundries, it is not resized in that direction, but still resized in the other:
The code:
I think this is mistake and you should set scaled_size = (self.scaled_width, self.scaled_height)