PHP Class ImageComponent

显示文件 Open project: Orangescrum/orangescrum Class Usage Examples

Public Properties

Property Type Description
$cut_x
$cut_y
$image_type
$max_x
$max_y
$quality
$save_to_file

Public Methods

Method Description
GenerateThumbFile ( $from_name1, $to_name, $max_x, $max_y, $filename )
ImageCreateFromType ( $type, $filename )
SaveImage ( $im, $filename )
generateTemporaryURL ( $resource ) function GenerateThumbFile($from_name, $to_name, $max_x, $max_y) {

Method Details

GenerateThumbFile() public method

public GenerateThumbFile ( $from_name1, $to_name, $max_x, $max_y, $filename )

ImageCreateFromType() public method

public ImageCreateFromType ( $type, $filename )

SaveImage() public method

public SaveImage ( $im, $filename )

generateTemporaryURL() public method

function GenerateThumbFile($from_name, $to_name, $max_x, $max_y) {
public generateTemporaryURL ( $resource )

Property Details

$cut_x public_oe property

public $cut_x

$cut_y public_oe property

public $cut_y

$image_type public_oe property

public $image_type

$max_x public_oe property

public $max_x

$max_y public_oe property

public $max_y

$quality public_oe property

public $quality

$save_to_file public_oe property

public $save_to_file