Open tucanae47 opened 11 years ago
I'm not sure if I understood what you're trying to do. If you change te cropsize and you want to keep the image in the same place (not calling reset) then you'll have to update imageView.transform accordingly or else the image crop will get messed up.
When i change the size if the cropsize lets say a size of 100x100, i obtain a sourceImageView as small as the cropView.
I have tried to change the cropzise without a reset, also i tried to change the size of the frame of the sourceimageView, it works sourceImageview big, cropView small. but then when i crop the result image its not the same one i selected to crop. (its like a crop of the upper part of the original crop selection)
I have read the code and tried to make changes so that i achieve the correct effect but im not able to do it so far. i think is related with the scale and the image transforms are done during the save operation.