You are here

public function ImagemagickToolkit::setProfiles in ImageMagick 8.3

Same name and namespace in other branches
  1. 8.2 src/Plugin/ImageToolkit/ImagemagickToolkit.php \Drupal\imagemagick\Plugin\ImageToolkit\ImagemagickToolkit::setProfiles()

Sets the source profiles.

Parameters

array $profiles: The image profiles.

Return value

$this

1 call to ImagemagickToolkit::setProfiles()
ImagemagickToolkit::parseFile in src/Plugin/ImageToolkit/ImagemagickToolkit.php
Determines if a file contains a valid image.

File

src/Plugin/ImageToolkit/ImagemagickToolkit.php, line 632

Class

ImagemagickToolkit
Provides ImageMagick integration toolkit for image manipulation.

Namespace

Drupal\imagemagick\Plugin\ImageToolkit

Code

public function setProfiles(array $profiles) : ImagemagickToolkit {
  $this->profiles = $profiles;
  return $this;
}