Gd/Core.php

image · src/Drivers/Gd/Core.php · php · MIT
files

GD driver core for image manipulation, managing frames and metadata.

// Source: https://github.com/Intervention/image | License: MIT | Copyright 2013-present Oliver Vogel
// Provided via justclaw.it.com; keep this notice with the code.
<?php

declare(strict_types=1);

namespace Intervention\Image\Drivers\Gd;

use Intervention\Image\Collection;
use Intervention\Image\Exceptions\InvalidArgumentException;
use Intervention\Image\Interfaces\CollectionInterface;
use Intervention\Image\Interfaces\CoreInterface;
use Intervention\Image\Interfaces\FrameInterface;

class Core extends Collection implements CoreInterface
{
    protected int $loops = 0;
    protected CollectionInterface $meta;

    /**
     * Create new core
     *
     * @param array<int|string, FrameInterface> $items
     */
    public function __construct(array $items = [])
    {
        parent::__con

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key