add background color to subdefs of transparent tiff. (#4376)

bump media-alchemyst and imagine
This commit is contained in:
jygaulier
2023-09-19 18:25:25 +02:00
committed by GitHub
parent 7d23b7613b
commit 1bef595785
4 changed files with 23 additions and 17 deletions

View File

@@ -159,6 +159,9 @@ class databox_subdef
if ($sd->watermarkrid) {
$image->setOptionValue(Image::OPTION_WATERMARKRID, $sd->watermarkrid);
}
if ($sd->backgroundcolor) {
$image->setOptionValue(Image::OPTION_BACKGROUNDCOLOR, $sd->backgroundcolor);
}
return $image;
}
/**