mirror of
https://github.com/Intervention/image.git
synced 2025-08-30 09:10:21 +02:00
Optimize & Refactor Crop- and ResizeCanvasModifiers (#1418)
* Refactor and simplify CropModifier::class * Refactor and simplify ResizeCanvasModifier::class
This commit is contained in:
@@ -64,7 +64,7 @@ final class PngEncoderTest extends ImagickTestCase
|
||||
yield [
|
||||
static::createTestImage(3, 2)->fill('ccc'), // new grayscale
|
||||
new PngEncoder(indexed: true),
|
||||
'grayscale', // result should be 'indexed' but there seems to be no way to force this with imagick
|
||||
'indexed',
|
||||
];
|
||||
yield [
|
||||
static::readTestImage('circle.png'), // truecolor-alpha
|
||||
|
Reference in New Issue
Block a user