Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID

Image::Resize

edited January 2014 in Framework

Do you think it would make sense for Image::Resize not to make images larger, or to offer a flag that inhibits upsizing? I've been using it to downsize uploaded images, but it turns out some are smaller than expected and are ending up blurry.

Comments

  • For that you'd need to inspect the image dimensions via getimagesize(), which is probably best done outside of Image::resize() since it has the ability to resize in a variety of ways.

Sign In or Register to comment.