|
| static | run ($filename, $baseDir, $params, $tweekFactor=1.65) |
| |
| static | computeMemoryNeeds ($size, $tweekFactor=1.65) |
| |
| static | isPicture ($file) |
| |
| static | getNewImageSize ($original_size, $required_size) |
| |
| static | getNewCoverImageSize ($original_size, $required_size) |
| |
| static | resizerParams ($params=array()) |
| |
| static | resizer ($filename, $new_size, $sourceDir, $targetDir, $targetFileName=null, $params=array()) |
| |
◆ __construct()
◆ computeMemoryNeeds()
| static computeMemoryNeeds |
( |
|
$size, |
|
|
|
$tweekFactor = 1.65 |
|
) |
| |
|
static |
◆ getNewCoverImageSize()
| static getNewCoverImageSize |
( |
|
$original_size, |
|
|
|
$required_size |
|
) |
| |
|
static |
Provede prepocet velikosti puvodniho obrazku na pozadovane rozmery tak, aby se dalo prekryt pozadovanymy rozmery
- Parameters
-
| array | $original_size | |
| array | $required_size | public |
- Returns
- array
◆ getNewImageSize()
| static getNewImageSize |
( |
|
$original_size, |
|
|
|
$required_size |
|
) |
| |
|
static |
Provede prepocet velikosti puvodniho obrazku na pozadovane rozmery.
- Parameters
-
| array | $original_size | |
| array | $required_size | public |
- Returns
- array
◆ isPicture()
| static isPicture |
( |
|
$file | ) |
|
|
static |
◆ resizer()
| static resizer |
( |
|
$filename, |
|
|
|
$new_size, |
|
|
|
$sourceDir, |
|
|
|
$targetDir, |
|
|
|
$targetFileName = null, |
|
|
|
$params = array() |
|
) |
| |
|
static |
provede vlastni zmenu rozmeru obrazku
- Parameters
-
| string | $filename | |
| array | $new_size | |
| string | $sourceDir | |
| string | $targetDir | protected |
- Returns
- bool
◆ resizerParams()
| static resizerParams |
( |
|
$params = array() | ) |
|
|
static |
Wrapper pro resizer
- Parameters
-
| type | $sourceFile | |
| type | $sourceDir | |
| type | $targetDir | |
| type | $newSize | |
| type | $params | - [targetFile] |
◆ run()
| static run |
( |
|
$filename, |
|
|
|
$baseDir, |
|
|
|
$params, |
|
|
|
$tweekFactor = 1.65 |
|
) |
| |
|
static |
zastresujici fce pro zmenu velikosti
$params['width'] = jakou bude mit obrazek sirku $params['height'] = jakou bude mit obrazek vysku $params['thumbs'][] = array('dir'=> , 'width' =>, 'height' => );
- Parameters
-
| string | $filename | jmeno souboru |
| string | $baseDir | zdrojovy adresar |
| array | $params | parametry public |
- Returns
- bool
◆ $defaultThumbsdir
| $defaultThumbsdir = 'thumbs/' |
|
staticprotected |
◆ $VERSION
The documentation for this class was generated from the following file: