PHP 8.1.24 Released!

imagecreatefromtga

(PHP 7 >= 7.4.0, PHP 8)

imagecreatefromtgaCria uma nova imagem a partir de um arquivo ou URL

Descrição

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.

Valor Retornado

Retorna um objeto de imagem em caso de sucesso, false em caso de erros.

Changelog

Versão Descrição
8.0.0 On success, this function returns a GDImage instance now; previously, a resource was returned.
add a note

User Contributed Notes

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