# \IZON\Thumber\ImageResizerIImageResizer

Provides image size calculations.

## Summary

Methods
Constants
resize()
addStrategy()
CONTAIN
COVER
CROP
SUPPORTED_TYPES
No protected methods found
N/A
No private methods found
N/A

File
  ImageResizer/IImageResizer.php
Package
  \Default

## Tags

author | Aleš Kopecký kopecky@izon.cz

## Constants

### CONTAIN

    CONTAIN

#

## Tags

None found

### COVER

    COVER

#

## Tags

None found

### CROP

    CROP

#

## Tags

None found

### SUPPORTED_TYPES

    SUPPORTED_TYPES

#

## Tags

None found

## Methods

### resize()

    resize(string  $type) : \IZON\Thumber\ImageResizer\IImageResizerStrategy

#### Parameters

string | $type |

#### Throws

\IZON\Thumber\Exceptions\UnsupportedResizeTypeException

#### Returns

\IZON\Thumber\ImageResizer\IImageResizerStrategy

#

## Tags

None found

### addStrategy()

    addStrategy(string  $type, \IZON\Thumber\ImageResizer\IImageResizerStrategy  $strategy) : \IZON\Thumber\ImageResizer\IImageResizer

#### Parameters

string | $type |
\IZON\Thumber\ImageResizer\IImageResizerStrategy | $strategy |

#### Throws

\IZON\Thumber\Exceptions\UnsupportedResizeTypeException

#### Returns

\IZON\Thumber\ImageResizer\IImageResizer

#

## Tags

None found

### IImageResizer.php