imagecreatefromtga
PHP function
Edit on GitHub ✎
(PHP 7 >= 7.4.0, PHP 8)
New
Description
imagecreatefromtga(string $filename): GdImage|false
imagecreatefromtga() returns an image object representing the image obtained from the given filename.
Parameters
filenamePath to the Truevision TGA image.
Return Values
Identifier
Changelog
| Version | Description |
|---|---|
| 8.0.0 | On success, this function returns a GDImage instance now; previously, a Resource was returned. |