(PHP 7 >= 7.4.0, PHP 8)
imagecreatefromtga — Create a new image from file or URL
imagecreatefromtga(string $filename): GdImage|false
imagecreatefromtga() returns an image object representing the image obtained from the given filename.
filenamePath to the Truevision TGA image.
Returns an image object on success, false on errors.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.imagecreatefromtga.php