class FlashFile extends File

Properties

protected $container from File

Methods

__construct(DriverContainer $container)

Build the File processor given the configuration

from File
static string
changePathnameExtension(string $pathname, string $extension)

Change the extension of a pathname

from File
Boolean
render(string $inputFile, string $outputFile, Boolean $legacy_rendering = false)

Render the flash to PNG file

type
listEmbeddedObjects(string $inputFile)

List all embedded object of the current flash file

string
extractEmbedded(integer $id, string $inputFile, string $outputFile)

Extract the specified Embedded file

extractFirstImage(string $inputFile, string $outputFile)

Extract the first embedded image found

Details

in File at line 25
__construct(DriverContainer $container)

Build the File processor given the configuration

Parameters

DriverContainer $container

in File at line 41
static protected string changePathnameExtension(string $pathname, string $extension)

Change the extension of a pathname

Parameters

string $pathname
string $extension

Return Value

string

at line 30
Boolean render(string $inputFile, string $outputFile, Boolean $legacy_rendering = false)

Render the flash to PNG file

Parameters

string $inputFile
string $outputFile
Boolean $legacy_rendering

Return Value

Boolean

Exceptions

InvalidArgumentException

at line 54
type listEmbeddedObjects(string $inputFile)

List all embedded object of the current flash file

Parameters

string $inputFile

Return Value

type

Exceptions

RuntimeException

at line 104
string extractEmbedded(integer $id, string $inputFile, string $outputFile)

Extract the specified Embedded file

Parameters

integer $id
string $inputFile
string $outputFile

Return Value

string

Exceptions

RuntimeException

at line 134
extractFirstImage(string $inputFile, string $outputFile)

Extract the first embedded image found

Parameters

string $inputFile
string $outputFile

Exceptions

InvalidArgumentException
RuntimeException