Voting

: four plus zero?
(Example: nine)

The Note You're Voting On

rich at corephp dot co dot uk
18 years ago
Be wary of this function when resizing images to make them *larger* than the original due to the memory consumption rate. For example a 200KB JPEG file (1024x768) will take up 4MB of memory when loaded, but when resampled to twice the the size the memory use jumps to 20.1MB. imagecopyresized does the same. Allow approx. 5 bytes per *pixel* for memory allowance when dealing with true colour images.

<< Back to user notes page

To Top