PHP Class App\Libraries\ImageProcessor

Show file Open project: ppy/osu-web Class Usage Examples

Public Properties

Property Type Description
$allowedTypes
$errors
$hardMaxDim
$hardMaxFileSize
$inputDim
$inputFileSize

Public Methods

Method Description
__construct ( $inputPath, $targetDim, $targetFileSize )
basicCheck ( )
ext ( )
parseInput ( $force = false )
process ( )
purgeExif ( )

Method Details

__construct() public method

public __construct ( $inputPath, $targetDim, $targetFileSize )

basicCheck() public method

public basicCheck ( )

ext() public method

public ext ( )

parseInput() public method

public parseInput ( $force = false )

process() public method

public process ( )

purgeExif() public method

public purgeExif ( )

Property Details

$allowedTypes public property

public $allowedTypes

$errors public property

public $errors

$hardMaxDim public property

public $hardMaxDim

$hardMaxFileSize public property

public $hardMaxFileSize

$inputDim public property

public $inputDim

$inputFileSize public property

public $inputFileSize