PHP 8.5.0 Alpha 2 available for testing

imagecreatefromtga

(PHP 7 >= 7.4.0, PHP 8)

imagecreatefromtgaCreate a new image from file or URL

Descripción

imagecreatefromtga(string $filename): GdImage|false

imagecreatefromtga() devuelve un objeto imagen que representa la imagen obtenida a partir del nombre de fichero proporcionado.

Parámetros

filename

Ruta de acceso a la imagen TGA Truevision.

Valores devueltos

Returns an image object on success, false on errors.

Historial de cambios

Versión Descripción
8.0.0 En caso de éxito, esta función devuelve ahora una instancia GDImage; anteriormente, se devolvía un resource.
add a note

User Contributed Notes

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