AbstractThumbnailer

implements Omeka\File\Thumbnailer\ThumbnailerInterface

Known subclasses

Omeka\File\Thumbnailer\Gd, Omeka\File\Thumbnailer\ImageMagick, Omeka\File\Thumbnailer\Imagick
Abstract
Open source code
Methods Summary
public
public
# setOptions( array $options )
public
# getOption( string $option , string $default = NULL )
Get an option.
public
# getOffsetX( int $width , int $size , string $gravity )
For the square strategy, get the required offset on the X axis.
public
# getOffsetY( int $height , int $size , string $gravity )
For the square strategy, get the required offset on the Y axis.
Properties Summary
protected string $source
# NULL
protected Omeka\File\Thumbnailer\File $sourceFile
# NULL
protected array $options
# NULL