ALIAS

imgout()

ShortPHP reference for imagepng().

Signature

imagepng(GdImage $image, resource|string|null $file = null, int $quality = -1, int $filters = -1): bool

Example

imgout(...);

PHP equivalent

imagepng() is the canonical PHP function. ShortPHP provides imgout() as the convenience alias.

Extension: gd

Official PHP manual ↗

Reference navigation

Previous: imgjpg()

Next: imgw()

Back to reference