contao/image

Different imagine options should result in a different image path

ausi opened this issue · 0 comments

ausi commented

In this example, the second resize returns the same image as the first one:

$options1 = (new ResizeOptions())
    ->setImagineOptions(['jpeg_quality' => 100])
;
$options2 = (new ResizeOptions())
    ->setImagineOptions(['jpeg_quality' => 50])
;

$resizedImage1 = $resizer->resize(..., ..., $options1);
$resizedImage2 = $resizer->resize(..., ..., $options2);