in reply to Delete or warn about oversize photos in an LDAP directory (uses GD and Net::LDAP)
Useful!
Unless it's important to verify that the JPEG is valid before doing any other checks, checking the image size before turning the JPEG into a GD::Image saves a few cycles in the "too big" case.
|
---|
In Section
Craft