ALIAS

imgjpg()

ShortPHP reference for imagejpeg().

Signature

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

Example

imgjpg(...);

PHP equivalent

imagejpeg() is the canonical PHP function. ShortPHP provides imgjpg() as the convenience alias.

Extension: gd

Official PHP manual ↗

Reference navigation

Previous: imgpng()

Next: imgout()

Back to reference