1 <?php 2 /** 3 * Image JPEG Upload Input Transformations plugin for phpMyAdmin 4 */ 5 6 declare(strict_types=1); 7 8 namespace PhpMyAdmin\Plugins\Transformations\Input; 9 10 use PhpMyAdmin\Plugins\Transformations\Abs\ImageUploadTransformationsPlugin; 11 12 /** 13 * Handles the image upload input transformation for JPEG. 14 * Has two option: width & height of the thumbnail 15 */ 16 // @codingStandardsIgnoreLine 17 class Image_JPEG_Upload extends ImageUploadTransformationsPlugin 18 { 19 /** 20 * Gets the plugin`s MIME type 21 * 22 * @return string 23 */ 24 public static function getMIMEType() 25 { 26 return 'Image'; 27 } 28 29 /** 30 * Gets the plugin`s MIME subtype 31 * 32 * @return string 33 */ 34 public static function getMIMESubtype() 35 { 36 return 'JPEG'; 37 } 38 }