Cheetah
Public Member Functions | List of all members
Intervention\Image\Gd\Decoder Class Reference
Inheritance diagram for Intervention\Image\Gd\Decoder:
Intervention\Image\AbstractDecoder

Public Member Functions

 initFromPath ($path)
 
 initFromGdResource ($resource)
 
 initFromImagick (\Imagick $object)
 
 initFromBinary ($binary)
 
 gdResourceToTruecolor (&$resource)
 
- Public Member Functions inherited from Intervention\Image\AbstractDecoder
 __construct ($data=null)
 
 initFromUrl ($url)
 
 initFromStream ($stream)
 
 isGdResource ()
 
 isImagick ()
 
 isInterventionImage ()
 
 isSplFileInfo ()
 
 isSymfonyUpload ()
 
 isFilePath ()
 
 isUrl ()
 
 isStream ()
 
 isBinary ()
 
 isDataUrl ()
 
 isBase64 ()
 
 initFromInterventionImage ($object)
 
 init ($data)
 
 __toString ()
 

Detailed Description

Definition at line 8 of file Decoder.php.

Member Function Documentation

◆ gdResourceToTruecolor()

Intervention\Image\Gd\Decoder::gdResourceToTruecolor ( $resource)

Transform GD resource into Truecolor version

Parameters
resource$resource
Returns
bool

Definition at line 109 of file Decoder.php.

◆ initFromBinary()

Intervention\Image\Gd\Decoder::initFromBinary (   $binary)

Initiates new image from binary data

Parameters
string$data
Returns
\Intervention\Image\Image

Reimplemented from Intervention\Image\AbstractDecoder.

Definition at line 87 of file Decoder.php.

◆ initFromGdResource()

Intervention\Image\Gd\Decoder::initFromGdResource (   $resource)

Initiates new image from GD resource

Parameters
Resource$resource
Returns
\Intervention\Image\Image

Reimplemented from Intervention\Image\AbstractDecoder.

Definition at line 63 of file Decoder.php.

◆ initFromImagick()

Intervention\Image\Gd\Decoder::initFromImagick ( \Imagick  $object)

Initiates new image from Imagick object

Parameters
Imagick$object
Returns
\Intervention\Image\Image

Reimplemented from Intervention\Image\AbstractDecoder.

Definition at line 74 of file Decoder.php.

◆ initFromPath()

Intervention\Image\Gd\Decoder::initFromPath (   $path)

Initiates new image from path in filesystem

Parameters
string$path
Returns
\Intervention\Image\Image

Reimplemented from Intervention\Image\AbstractDecoder.

Definition at line 16 of file Decoder.php.


The documentation for this class was generated from the following file: