You are here

function imagick_file_formats in Imagick 7

2 calls to imagick_file_formats()
image_imagick_convert in effects/imagick.convert.inc
Image effect form callback for the convert image format effect.
imagick_convert_form in effects/imagick.convert.inc
Settings form for the imagick convert effect.

File

./imagick.module, line 691
Imagick toolkit for image manipulation within Drupal.

Code

function imagick_file_formats() {

  // @TODO use imagick::queryFormats() to generate full format list
  return array(
    'image/jpeg' => 'jpg',
    'image/gif' => 'gif',
    'image/png' => 'png',
  );
}