You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($format === 'gif') { // If format is `gif`, we have to deal with it...
if (!empty($settings->autoConvertGif)) {
if (is_string($settings->autoConvertGif)) {
$format = $settings->autoConvertGif;
} else {
$format = 'png';
}
} else {
$message = 'The AWS Serverless Image Handler does not support converting images to GIF. Please use `autoConvertGif` or add conditionals to avoid passing in GIFs.';
Craft::error($message, __METHOD__);
thrownewImagerException($message);
}
}
Thanks in advance!
The text was updated successfully, but these errors were encountered:
AWS Serverless Image Handler supports gif since v6.1.0
Could you update this transform to allow
format: 'gif'
and disable the fallback to png?See:
craft-imager-x-aws-serverless-transformer/src/transformers/AwsServerless.php
Lines 152 to 164 in 697a587
Thanks in advance!
The text was updated successfully, but these errors were encountered: