public function ImagemagickToolkit::setExifOrientation in ImageMagick 8.2
Same name and namespace in other branches
- 8.3 src/Plugin/ImageToolkit/ImagemagickToolkit.php \Drupal\imagemagick\Plugin\ImageToolkit\ImagemagickToolkit::setExifOrientation()
- 8 src/Plugin/ImageToolkit/ImagemagickToolkit.php \Drupal\imagemagick\Plugin\ImageToolkit\ImagemagickToolkit::setExifOrientation()
Sets the source EXIF orientation.
Parameters
int|null $exif_orientation: The EXIF orientation.
Return value
$this
1 call to ImagemagickToolkit::setExifOrientation()
- ImagemagickToolkit::getExifOrientation in src/
Plugin/ ImageToolkit/ ImagemagickToolkit.php - Gets the source EXIF orientation.
File
- src/
Plugin/ ImageToolkit/ ImagemagickToolkit.php, line 772
Class
- ImagemagickToolkit
- Provides ImageMagick integration toolkit for image manipulation.
Namespace
Drupal\imagemagick\Plugin\ImageToolkitCode
public function setExifOrientation($exif_orientation) {
$this->exifOrientation = $exif_orientation ? (int) $exif_orientation : NULL;
return $this;
}