Gd

extends Omeka\File\Thumbnailer\AbstractThumbnailer
Methods Summary
public
# __construct( Omeka\File\TempFileFactory $tempFileFactory )
Check whether the GD entension is loaded.
public
# setSource( Omeka\File\TempFile $source )
Create image resource. {@inheritDoc}

Overrides

public
# create( $strategy , $constraint , array $options = array ( ) )
{@inheritDoc}
public
# createDefault( int $constraint , array $options )
Create a default thumbnail.
public
# createSquare( int $constraint , array $options )
Create a square thumbnail.
public
# createTempImage( int $width , int $height )
Create a temporary thumbnail image.
public
# __destruct( )
Destroy the GD resource. This works because the gd thumbnailer is a non-shared service.
Methods inherited from Omeka\File\Thumbnailer\AbstractThumbnailer
setSource(), setOptions(), getOption(), getOffsetX(), getOffsetY()
Properties Summary
protected Omeka\File\TempFileFactory $tempFileFactory
# NULL
protected resource $origImage
# NULL
protected int $origWidth
# NULL
protected int $origHeight
# NULL
Properties inherited from Omeka\File\Thumbnailer\AbstractThumbnailer
$source, $sourceFile, $options