You are here

public function ConvertImageEffect::getDerivativeExtension in Imagick 8

Returns the extension of the derivative after applying this image effect.

Parameters

string $extension: The file extension the derivative has before applying.

Return value

string The file extension after applying.

Overrides ImageEffectBase::getDerivativeExtension

File

src/Plugin/ImageEffect/ConvertImageEffect.php, line 87

Class

ConvertImageEffect
Blurs an image resource.

Namespace

Drupal\imagick\Plugin\ImageEffect

Code

public function getDerivativeExtension($extension) {
  return $this->configuration['format'];
}