Oberto / php-image-magician

Image manipulation at it's finest.
http://phpimagemagician.jarrodoberto.com
91 stars 54 forks source link

parameter skipping #4

Open nikosch opened 11 years ago

nikosch commented 11 years ago

in displayImage() please use NULL instead of the empty string to avoid the file-save operation. Since PHP5.4 you will get a warning about an invalid path

See: http://de3.php.net/manual/en/function.imagepng.php#108032

Oberto commented 11 years ago

Nice suggestion. When I get a moment I'll make the update but I'm also more than happy to accept pull requests :)