SWFBitmap::__constructLoads Bitmap object Description
SWFBitmap::__construct
( mixed
$file
[, mixed $alphafile
] )Warning
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.
Creates the new SWFBitmap object from the given
ParametersFor both parameters you can provide a file pointer returned by fopen or the image data, as a binary string.
Examples
Example #1 Importing a DBL file
<?php
Example #2 Using an alpha mask
<?php |