Added option to transcode extension and thumbnailing to choose the color to use to fill in the background when converting an image with an alpha channel to a format without

This commit is contained in:
Matthew Barbour
2020-06-14 11:36:52 -05:00
committed by Shish
parent 984c9702ec
commit 7f68ef1cfd
10 changed files with 97 additions and 28 deletions

View File

@@ -7,6 +7,11 @@ abstract class MediaEngine
public const FFMPEG = "ffmpeg";
public const STATIC = "static";
const IMAGE_ENGINES = [
"GD" => MediaEngine::GD,
"ImageMagick" => MediaEngine::IMAGICK,
];
public const ALL = [
MediaEngine::GD,
MediaEngine::FFMPEG,