b937ad6255
Changed ffmpeg thumbnailer to instead output a full-size png which is forwarded to the image thumbnailer, to allow it to take advantage of all available scaling options
22 lines
739 B
PHP
22 lines
739 B
PHP
<?php declare(strict_types=1);
|
|
|
|
abstract class ImageConfig
|
|
{
|
|
const THUMB_ENGINE = 'thumb_engine';
|
|
const THUMB_WIDTH = 'thumb_width';
|
|
const THUMB_HEIGHT = 'thumb_height';
|
|
const THUMB_SCALING = 'thumb_scaling';
|
|
const THUMB_QUALITY = 'thumb_quality';
|
|
const THUMB_TYPE = 'thumb_type';
|
|
const THUMB_FIT = 'thumb_fit';
|
|
|
|
const SHOW_META = 'image_show_meta';
|
|
const ILINK = 'image_ilink';
|
|
const TLINK = 'image_tlink';
|
|
const TIP = 'image_tip';
|
|
const EXPIRES = 'image_expires';
|
|
const UPLOAD_COLLISION_HANDLER = 'upload_collision_handler';
|
|
|
|
const COLLISION_MERGE = 'merge';
|
|
const COLLISION_ERROR = 'error';
|
|
}
|