SWFBitmap::__constructLoads Bitmap object Beschreibung
SWFBitmap::__construct
( mixed
$file
[, mixed $alphafile
] )Warnung
Diese Funktion ist EXPERIMENTELL. Das Verhalten, der Funktionsname und alles Andere, was hier dokumentiert ist, kann sich in zukünftigen PHP-Versionen ohne Ankündigung ändern. Seien Sie gewarnt und verwenden Sie diese Funktion auf eigenes Risiko.
Creates the new SWFBitmap object from the given
Parameter-ListeFor both parameters you can provide a file pointer returned by fopen or the image data, as a binary string.
Beispiele
Beispiel #1 Importing a DBL file
<?php
Beispiel #2 Using an alpha mask
<?php |