Home
last modified time | relevance | path

Searched refs:orientation (Results 1 – 4 of 4) sorted by relevance

/dokuwiki/vendor/splitbrain/slika/src/
H A DImageMagickAdapter.php33 public function rotate($orientation) argument
35 $orientation = (int)$orientation;
36 if ($orientation < 0 || $orientation > 8) {
42 if (in_array($orientation, [3, 4])) {
44 } elseif (in_array($orientation, [5, 6])) {
46 } elseif (in_array($orientation, [7, 8])) {
51 if (in_array($orientation, [2, 5, 7, 4])) {
H A DGdAdapter.php46 $orientation = 1;
52 $orientation = $exif['Orientation'];
60 $orientation = ord($matches[1]);
63 $orientation = ord($matches[1]);
67 return $this->rotate($orientation);
74 public function rotate($orientation) argument
76 $orientation = (int)$orientation;
77 if ($orientation < 0 || $orientation > 8) {
81 if ($orientation <= 1) {
90 if (in_array($orientation, [3, 4])) {
[all …]
H A DAdapter.php49 * @param int $orientation Exif rotation flags
53 abstract public function rotate($orientation); argument
/dokuwiki/vendor/splitbrain/slika/
H A DREADME.md72 Rotates the image. The parameter passed is one of the EXIF orientation flags:
74 ![orientation flags](https://i.stack.imgur.com/BFqgu.gif)