imagecreatefromtga

(PHP 7 >= 7.4.0, PHP 8)

imagecreatefromtgaCrea una nueva imagen a partir de un fichero o de una URL

Descripción

imagecreatefromtga(string $filename): GdImage|false

imagecreatefromtga() returns an image object representing the image obtained from the given filename.

Parámetros

filename

Path to the Truevision TGA image.

Valores devueltos

En caso de éxito, devuelve un identificador de recurso de imagen, y false en caso de error.

Historial de cambios

Versión Descripción
8.0.0 On success, this function returns a GDImage instance now; previously, a recurso was returned.
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top