ALIAS

imgpng()

ShortPHP reference for imagecreatefrompng().

Signature

imagecreatefrompng(string $filename): GdImage|false

Example

imgpng(...);

PHP equivalent

imagecreatefrompng() is the canonical PHP function. ShortPHP provides imgpng() as the convenience alias.

Extension: gd

Official PHP manual ↗

Reference navigation

Previous: imgjpeg()

Next: imgjpg()

Back to reference