mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
add background color to subdefs of transparent tiff. (#4376)
bump media-alchemyst and imagine
This commit is contained in:
@@ -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;
|
||||
}
|
||||
/**
|
||||
|
Reference in New Issue
Block a user