Dutch PHP Conference 2025 - Call For Papers

imagecreatefromtga

(PHP 7 >= 7.4.0, PHP 8)

imagecreatefromtgaСтворює нове зображення з файла або URL

Опис

imagecreatefromtga(string $filename): GdImage|false

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

Параметри

filename

Path to the Truevision TGA image.

Значення, що повертаються

Повертає об'єкт зображення в разі успіху або false в разі помилок.

Журнал змін

Версія Опис
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