You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're using toucan in our app to resize product images using FitMode.crop. This fit mode produce really bad quality image even though the cropped image would maintain same aspect ratio as the original image.
I too have noticed this. However, I think it has more to do with the resize than the crop. If you take the Portrait.jpg in the test code and size it down to 50x50 then the quality is bad. If you do 500x500 it is fine. So it seems as though the smaller the size the poorer the quality
Hello,
We're using toucan in our app to resize product images using FitMode.crop. This fit mode produce really bad quality image even though the cropped image would maintain same aspect ratio as the original image.
Resize code in UIImageExtension:
Toucan(image: self).resize(CGSize(width: 345, height: 519), fitMode: Toucan.Resize.FitMode.crop).image!
I couldn't find any reason why this is happening. Please help.
The text was updated successfully, but these errors were encountered: