ThumbnailerInterface

Known implementers

Omeka\File\Thumbnailer\AbstractThumbnailer , Omeka\File\Thumbnailer\Gd , Omeka\File\Thumbnailer\ImageMagick , Omeka\File\Thumbnailer\Imagick

Methods Summary
public
# setSource( Omeka\File\TempFile $source )
Set the file source.
public
# setOptions( array $options )
Set options for all thumbnail strategies.
public
# create( string $strategy , int $constraint , array $options = array ( ) )
Create a thumbnail derivative. Implementations should attempt to copy the source file, convert it to JPEG, and resize it according to the passed strategy and constraint. They should handle at least the "default" and "square" thumbnail strategies.