Closed garygreen closed 7 years ago
I would say this belong more to code logic that the library itself.
if ($width > 2048) {
resize(...)
}
Maybe. But I think it's common enough to warrant being a proper resize method.
Maybe scaleDownResize()
@Gregwar What do you think?
Actually, cropResize()
already does this since it will not downscale and crops the extra padding
(Really late reply warning, don't know if it's usefull)
Is there currently a way to only scale resize if either the width or height is larger than X?
This is useful if you want users to upload any size image but scale down on the server if too large.
something like: