Re: about image resizing with crop and no enlarging

See all posts See thread Reply

Re: about image resizing with crop and no enlarging new!
by Edgars, 6 years, 3 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