Join GitHub today
fix for issue #628 #118
changed from the old behaviour to now return a small variation that fit into aspect ratio of the target dimensions.
@ryancramerdesign I have tested this thouroughful and it seems to work with all cases:
referenced this pull request
Aug 14, 2018
I also cleaned up some parts in the ImageSizerEngineGD.php for better reading and understanding.