public function ImagemagickFormatMapperInterface::isFormatEnabled in ImageMagick 8
Same name and namespace in other branches
- 8.3 src/ImagemagickFormatMapperInterface.php \Drupal\imagemagick\ImagemagickFormatMapperInterface::isFormatEnabled()
- 8.2 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 79
Class
- ImagemagickFormatMapperInterface
- Provides an interface for ImageMagick format mappers. )
Namespace
Drupal\imagemagickCode
public function isFormatEnabled($format);