PHP workshop for 2 days with Shopware, Sylius, PHPUnit and Codeception in Duisburg

imagecreatefromtga

(PHP 7 >= 7.4.0, PHP 8)

imagecreatefromtgaErzeugt ein neues Bild aus einer Datei oder URL

Beschreibung

imagecreatefromtga(string $filename): GdImage|false

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

Parameter-Liste

filename

Path to the Truevision TGA image.

R├╝ckgabewerte

Gibt im Erfolgsfall eine Bildobjekt zur├╝ck, im Fehlerfall false.

Changelog

Version Beschreibung
8.0.0 On success, this function returns a GDImage instance now; previously, a Ressource was returned.
add a note add a note

User Contributed Notes

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