You are here

public function ImagemagickFormatMapperInterface::isFormatEnabled in ImageMagick 8.2

Same name and namespace in other branches
  1. 8.3 src/ImagemagickFormatMapperInterface.php \Drupal\imagemagick\ImagemagickFormatMapperInterface::isFormatEnabled()
  2. 8 src/ImagemagickFormatMapperInterface.php \Drupal\imagemagick\ImagemagickFormatMapperInterface::isFormatEnabled()

Checks if an image format is enabled in the toolkit.

Parameters

string $format: An image format in ImageMagick's internal representation (e.g. JPEG, GIF87, etc.).

Return value

bool TRUE if the specified format is enabled within the toolkit, FALSE otherwise.

1 method overrides ImagemagickFormatMapperInterface::isFormatEnabled()
ImagemagickFormatMapper::isFormatEnabled in src/ImagemagickFormatMapper.php
Checks if an image format is enabled in the toolkit.

File

src/ImagemagickFormatMapperInterface.php, line 78

Class

ImagemagickFormatMapperInterface
Provides an interface for ImageMagick format mappers.

Namespace

Drupal\imagemagick

Code

public function isFormatEnabled($format);