Can we reduce an image file size with PHP if it exceed the the limit set by upload_max_filesize
?
For instance, the upload_max_filesize
at my serve is only 3MB, but the image file size for uploading is 4MB, so can I reduce 4MB to 3MB via some PHP function?
Or any other scripting programme can do this (I don't mean using Photoshop to reduce the file size)?