Reply to Re: about image resizing with crop and no enlarging

Re: about image resizing with crop and no enlarging new!
by Edgars, 6 years, 11 months ago
Thank you! I thought it would be really nice if class had another option(something like preserve target ratio, fallback option) when there is crop together with no enlarge(maybe another option to thees two) - its like this - if for example y side of input image are smaller than target y size then we set new_target_Y as input images y and calculate new_target_X by actual_Y/old_target_Y*old_target_X so then we have resized image based on proportions of target dimensions and crop even if it didnt fit.
Thank you for your great class!Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important