SWFBitmap : SWFBlock


SWFBitmap SWFBitmap(SWFInput input);

Create a new SWFBitmap object from the given Jpeg or DBL file. alphafilename indicates a MSK file to be used as an alpha mask for a Jpeg image.

Note: we can only deal with baseline (frame 0) jpegs, no baseline optimized or progressive scan jpegs!



int getWidth();
Returns the bitmap's width in pixels.


int getHeight();
Returns the bitmap's height in pixels.


back to index