Skip to content

Commit 94804fb

Browse files
committed
Remove overlay
1 parent 5b46f23 commit 94804fb

File tree

4 files changed

+0
-100
lines changed

4 files changed

+0
-100
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ The current list of possible transformations and where to find the documentation
128128
| ICC profile size threshold | <a target="_blank" href="https://uploadcare.com/docs/transformations/image/colors/#operation-max-icc-size">Link</a> |
129129
| Inverting | <a target="_blank" href="https://uploadcare.com/docs/transformations/image/colors/#operation-inverting">Link</a> |
130130
| Mirror | <a target="_blank" href="https://uploadcare.com/docs/transformations/image/colors/#operation-mirror">Link</a> |
131-
| Overlay | <a target="_blank" href="https://uploadcare.com/docs/transformations/image/colors/#operation-overlay">Link</a> |
132131
| Preview | <a target="_blank" href="https://uploadcare.com/docs/transformations/image/resize-crop/#operation-preview">Link</a> |
133132
| Progressive | <a target="_blank" href="https://uploadcare.com/docs/transformations/image/compression/#operation-progressive">Link</a> |
134133
| Quality | <a target="_blank" href="https://uploadcare.com/docs/transformations/image/compression/#operation-quality">Link</a> |

src/Methods/Transformations.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
use Vormkracht10\UploadcareTransformations\Transformations\Resize;
1212
use Vormkracht10\UploadcareTransformations\Transformations\Rotate;
1313
use Vormkracht10\UploadcareTransformations\Transformations\Enhance;
14-
use Vormkracht10\UploadcareTransformations\Transformations\Overlay;
1514
use Vormkracht10\UploadcareTransformations\Transformations\Quality;
1615
use Vormkracht10\UploadcareTransformations\Transformations\SetFill;
1716
use Vormkracht10\UploadcareTransformations\Transformations\Sharpen;
@@ -422,21 +421,4 @@ public function mirror(): self
422421

423422
return $this;
424423
}
425-
426-
/**
427-
* The overlay operation allows to layer images one over another.
428-
*
429-
* @param string $uuid
430-
* @param int|string $dimensionX
431-
* @param int|string $dimensionY
432-
* @param string $relativeCoordinates either one of the offset types or a percentage
433-
* @param int $opacity
434-
* @return self
435-
*/
436-
public function overlay(string $uuid, int|string $dimensionX, int|string $dimensionY, string $relativeCoordinates, int $opacity): self
437-
{
438-
$this->transformations['overlay'] = Overlay::transform($uuid, $dimensionX, $dimensionY, $relativeCoordinates, $opacity);
439-
440-
return $this;
441-
}
442424
}

src/Transformations/Overlay.php

Lines changed: 0 additions & 79 deletions
This file was deleted.

src/Transformations/TransformationsFinder.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ class TransformationsFinder
2121
public const ICC_PROFILE_SIZE_THRESHOLD = 'icc_profile_size_threshold';
2222
public const INVERTING = 'inverting';
2323
public const MIRROR = 'mirror';
24-
public const OVERLAY = 'overlay';
2524
public const PREVIEW = 'preview';
2625
public const PROGRESSIVE = 'progressive';
2726
public const QUALITY = 'quality';
@@ -54,7 +53,6 @@ public static function getTransformation($key)
5453
self::ICC_PROFILE_SIZE_THRESHOLD => ICCProfileSizeThreshold::class,
5554
self::INVERTING => Inverting::class,
5655
self::MIRROR => Mirror::class,
57-
self::OVERLAY => Overlay::class,
5856
self::PREVIEW => Preview::class,
5957
self::PROGRESSIVE => Progressive::class,
6058
self::QUALITY => Quality::class,

0 commit comments

Comments
 (0)