This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/ext/transcode/info.php

23 lines
1,007 B
PHP
Raw Normal View History

2021-12-14 18:32:47 +00:00
<?php
declare(strict_types=1);
namespace Shimmie2;
class TranscodeImageInfo extends ExtensionInfo
{
public const KEY = "transcode";
public string $key = self::KEY;
public string $name = "Transcode Image";
2023-11-11 21:49:12 +00:00
public array $authors = ["Matthew Barbour" => "matthew@darkholme.net"];
public string $license = self::LICENSE_WTFPL;
public ExtensionCategory $category = ExtensionCategory::FILE_HANDLING;
public string $description = "Allows admins to automatically and manually transcode images.";
public ?string $documentation =
2024-08-31 16:05:18 +00:00
"Can transcode on-demand and automatically on upload. Config screen allows choosing an output format for each of the supported input formats.
Supports GD and ImageMagick. Both support bmp, gif, jpg, png, and webp as inputs, and jpg, png, and lossy webp as outputs.
ImageMagick additionally supports tiff and psd inputs, and webp lossless output.
If and image is unable to be transcoded for any reason, the upload will continue unaffected.";
}