37 lines
667 B
PHP
37 lines
667 B
PHP
<?php
|
|
/**
|
|
* Image PNG Inline Transformations plugin for phpMyAdmin
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace PhpMyAdmin\Plugins\Transformations\Output;
|
|
|
|
use PhpMyAdmin\Plugins\Transformations\Abs\InlineTransformationsPlugin;
|
|
|
|
/**
|
|
* Handles the inline transformation for image png
|
|
*/
|
|
class Image_PNG_Inline extends InlineTransformationsPlugin
|
|
{
|
|
/**
|
|
* Gets the plugin`s MIME type
|
|
*
|
|
* @return string
|
|
*/
|
|
public static function getMIMEType()
|
|
{
|
|
return 'Image';
|
|
}
|
|
|
|
/**
|
|
* Gets the plugin`s MIME subtype
|
|
*
|
|
* @return string
|
|
*/
|
|
public static function getMIMESubtype()
|
|
{
|
|
return 'PNG';
|
|
}
|
|
}
|