C:\xampp\phpMyAdmin\libraries\classes\Plugins\Transformations\Input\Image_JPEG_Upload.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * Image JPEG Upload Input Transformations plugin for phpMyAdmin
 *
 * @package    PhpMyAdmin-Transformations
 * @subpackage ImageUpload
 */
namespace PhpMyAdmin\Plugins\Transformations\Input;

use 
PhpMyAdmin\Plugins\Transformations\Abs\ImageUploadTransformationsPlugin;

/**
 * Handles the image upload input transformation for JPEG.
 * Has two option: width & height of the thumbnail
 *
 * @package    PhpMyAdmin-Transformations
 * @subpackage ImageUpload
 */
// @codingStandardsIgnoreLine
class Image_JPEG_Upload extends ImageUploadTransformationsPlugin
{
    
/**
     * 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 
"JPEG";
    }
}
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586