imagecopyresampled() (Features)

by Alfie ⌂ @, Vienna, Austria, Saturday, June 01, 2013, 14:42 (1636 days ago)

Hi,

currently an image is resized if

This has a drawback if an image is within the dimension limits but the file size is too large.
Example: max dimension 640px, max filesize 100KB.
If an image is 300px wide and its filesize is 101KB it will be upscaled to 640px – which might look awful. Does anybody have an idea how to avoid this, i.e., either reducing the quality while keeping the dimensions or downscaling to match the max filesize?

--
Best regards,
Alfie (Helmut Schütz)
BEBA-Forum (v1.8β)


Complete thread:

 RSS Feed of thread

powered by my little forum