A
EditorInterface ::apply () — Method in class EditorInterface
Apply a filter to the image. See Filters section for a list of available filters. FilterInterface ::apply () — Method in class FilterInterface
Editor ::apply () — Method in class Editor
Apply a filter to the image. See Filters section for a list of available filters. Blur ::apply () — Method in class Blur
Brightness ::apply () — Method in class Brightness
Colorize ::apply () — Method in class Colorize
Contrast ::apply () — Method in class Contrast
Dither ::apply () — Method in class Dither
Apply filter. Gamma ::apply () — Method in class Gamma
Grayscale ::apply () — Method in class Grayscale
Invert ::apply () — Method in class Invert
Pixelate ::apply () — Method in class Pixelate
Sharpen ::apply () — Method in class Sharpen
Sobel ::apply () — Method in class Sobel
Image ::alphaBlendingMode () — Method in class Image
Set the blending mode for an image. Allows transparent overlays on top of an image. AverageHash — Class in namespace Grafika\Gd\ImageHash
AverageHash Editor ::apply () — Method in class Editor
Apply a filter to the image. See Filters section for a list of available filters. Blur ::apply () — Method in class Blur
Brightness ::apply () — Method in class Brightness
Colorize ::apply () — Method in class Colorize
Contrast ::apply () — Method in class Contrast
Dither ::apply () — Method in class Dither
Apply filter. Gamma ::apply () — Method in class Gamma
Grayscale ::apply () — Method in class Grayscale
Invert ::apply () — Method in class Invert
Pixelate ::apply () — Method in class Pixelate
Sharpen ::apply () — Method in class Sharpen
Sobel ::apply () — Method in class Sobel
AverageHash — Class in namespace Grafika\Imagick\ImageHash
AverageHash B
EditorInterface ::blend () — Method in class EditorInterface
Blend two images together with the first image as the base and the second image on top. Supports several blend modes. Editor ::blend () — Method in class Editor
Blend two images together with the first image as the base and the second image on top. Supports several blend modes. Blur — Class in namespace Grafika\Gd\Filter
Blurs the image. Brightness — Class in namespace Grafika\Gd\Filter
Change the image brightness. GifByteStream ::bite () — Method in class GifByteStream
Take a bite from the byte stream. GifByteStream ::back () — Method in class GifByteStream
Image ::blob () — Method in class Image
Output a binary raw dump of an image in a specified format. ImageInterface ::blob () — Method in class ImageInterface
Output a binary raw dump of an image in a specified format. Editor ::blend () — Method in class Editor
Blend two images together with the first image as the base and the second image on top. Supports several blend modes. Blur — Class in namespace Grafika\Imagick\Filter
Blurs the image. Brightness — Class in namespace Grafika\Imagick\Filter
Change the image brightness. Image ::blob () — Method in class Image
Output a binary raw dump of an image in a specified format. C
Color — Class in namespace Grafika
Holds the color information. CubicBezier — Class in namespace Grafika\DrawingObject
Base class EditorInterface ::compare () — Method in class EditorInterface
Compare two images and returns a hamming distance. A value of 0 indicates a likely similar picture. A value between 1 and 10 is potentially a variation. A value greater than 10 is likely a different image. EditorInterface ::crop () — Method in class EditorInterface
Crop the image to the given dimension and position. CubicBezier — Class in namespace Grafika\Gd\DrawingObject
Class CubicBezier Editor ::compare () — Method in class Editor
Compare two images and returns a hamming distance. A value of 0 indicates a likely similar picture. A value between 1 and 10 is potentially a variation. A value greater than 10 is likely a different image. Editor ::crop () — Method in class Editor
Crop the image to the given dimension and position. Colorize — Class in namespace Grafika\Gd\Filter
Change the values for red, green and blue in an image. Contrast — Class in namespace Grafika\Gd\Filter
Change the contrast of an image. Contrast is the difference in luminance or colour that makes an object distinguishable. Image ::createFromFile () — Method in class Image
Create Image from image file. Image ::createFromCore () — Method in class Image
Create an Image from a GD resource. The file type defaults to unknown. Image ::createBlank () — Method in class Image
Create a blank image. Grafika ::createEditor () — Method in class Grafika
Creates the first available editor. Grafika ::createImage () — Method in class Grafika
Create an image. Grafika ::createBlankImage () — Method in class Grafika
Create a blank image. Grafika ::createFilter () — Method in class Grafika
Create a filter. Detects available editor to use. Grafika ::createDrawingObject () — Method in class Grafika
Draws an object. Detects available editor to use. ImageInterface ::createBlank () — Method in class ImageInterface
Create a blank image. ImageInterface ::createFromCore () — Method in class ImageInterface
Create Image from core. ImageInterface ::createFromFile () — Method in class ImageInterface
Create Image from image file. CubicBezier — Class in namespace Grafika\Imagick\DrawingObject
Class CubicBezier Editor ::compare () — Method in class Editor
Compare two images and returns a hamming distance. A value of 0 indicates a likely similar picture. A value between 1 and 10 is potentially a variation. A value greater than 10 is likely a different image. Editor ::crop () — Method in class Editor
Crop the image to the given dimension and position. Colorize — Class in namespace Grafika\Imagick\Filter
Change the values for red, green and blue in an image. Contrast — Class in namespace Grafika\Imagick\Filter
Change the contrast of an image. Contrast is the difference in luminance or colour that makes an object distinguishable. Image ::createFromFile () — Method in class Image
Image ::createFromCore () — Method in class Image
Create an Image from an instance of Imagick. Image ::createBlank () — Method in class Image
Create a blank image. D
DrawingObjectInterface — Class in namespace Grafika
Interface DrawingObjectInterface DrawingObjectInterface ::draw () — Method in class DrawingObjectInterface
EditorInterface ::draw () — Method in class EditorInterface
Draw a DrawingObject on the image. See Drawing Objects section. CubicBezier ::draw () — Method in class CubicBezier
Ellipse ::draw () — Method in class Ellipse
TODO: Anti-aliased curves Line ::draw () — Method in class Line
Polygon ::draw () — Method in class Polygon
QuadraticBezier ::draw () — Method in class QuadraticBezier
Rectangle ::draw () — Method in class Rectangle
Editor ::draw () — Method in class Editor
Draw a DrawingObject on the image. See Drawing Objects section. Dither — Class in namespace Grafika\Gd\Filter
Dither image. Dithering will reduce the color to black and white and add noise. GifHelper ::decode () — Method in class GifHelper
Decode GIF into array of data for easy use in PHP userland. GifHelper ::decodeToBlocks () — Method in class GifHelper
Decompose GIF into its block components. The GIF blocks are in the order that they appear in the byte stream. DifferenceHash — Class in namespace Grafika\Gd\ImageHash
DifferenceHash Grafika ::detectAvailableEditor () — Method in class Grafika
Detects and return the name of the first supported editor which can either be "Imagick" or "Gd". CubicBezier ::draw () — Method in class CubicBezier
Ellipse ::draw () — Method in class Ellipse
Line ::draw () — Method in class Line
Polygon ::draw () — Method in class Polygon
QuadraticBezier ::draw () — Method in class QuadraticBezier
Rectangle ::draw () — Method in class Rectangle
Editor ::draw () — Method in class Editor
Draw a DrawingObject on the image. See Drawing Objects section. Dither — Class in namespace Grafika\Imagick\Filter
Dither image. Dithering will turn the image black and white and add noise. DifferenceHash — Class in namespace Grafika\Imagick\ImageHash
DifferenceHash E
Ellipse — Class in namespace Grafika\DrawingObject
Base class EditorInterface — Class in namespace Grafika
Interface EditorInterface EditorInterface ::equal () — Method in class EditorInterface
Compare if two images are equal. It will compare if the two images are of the same width and height. If the dimensions differ, it will return false. If the dimensions are equal, it will loop through each pixels. If one of the pixel don't match, it will return false. The pixels are compared using their RGB (Red, Green, Blue) values. Ellipse — Class in namespace Grafika\Gd\DrawingObject
Class Ellipse Editor — Class in namespace Grafika\Gd
GD Editor class. Uses the PHP GD library. Editor ::equal () — Method in class Editor
Compare if two images are equal. It will compare if the two images are of the same width and height. If the dimensions differ, it will return false. If the dimensions are equal, it will loop through each pixels. If one of the pixel don't match, it will return false. The pixels are compared using their RGB (Red, Green, Blue) values. GifHelper ::encode () — Method in class GifHelper
Encode data into GIF hex string. GifHelper ::expandBlocks () — Method in class GifHelper
Expand GIF blocks into useful info. Ellipse — Class in namespace Grafika\Imagick\DrawingObject
Class Ellipse Editor — Class in namespace Grafika\Imagick
Imagick Editor class. Uses the PHP Imagick library. Editor ::equal () — Method in class Editor
Compare if two images are equal. It will compare if the two images are of the same width and height. If the dimensions differ, it will return false. If the dimensions are equal, it will loop through each pixels. If one of the pixel don't match, it will return false. The pixels are compared using their RGB (Red, Green, Blue) values. F
EditorInterface ::fill () — Method in class EditorInterface
Fill entire image with color. EditorInterface ::flatten () — Method in class EditorInterface
Flatten if animated GIF. Do nothing otherwise. EditorInterface ::flip () — Method in class EditorInterface
Flip an image. EditorInterface ::free () — Method in class EditorInterface
Free the image clearing resources associated with it. FilterInterface — Class in namespace Grafika
Interface FilterInterface Editor ::fill () — Method in class Editor
Fill entire image with color. Editor ::flatten () — Method in class Editor
Flatten if animated GIF. Do nothing otherwise. Editor ::flip () — Method in class Editor
Flip or mirrors the image. Editor ::free () — Method in class Editor
Free the image clearing resources associated with it. GifByteStream ::find () — Method in class GifByteStream
Image ::fullAlphaMode () — Method in class Image
Enable/Disable transparency Grafika ::fontsDir () — Method in class Grafika
Return path to directory containing fonts used in text operations. Editor ::fill () — Method in class Editor
Fill entire image with color. Editor ::flatten () — Method in class Editor
Flatten if animated GIF. Do nothing otherwise. Editor ::flip () — Method in class Editor
Flip or mirrors the image. Editor ::free () — Method in class Editor
Free the image clearing resources associated with it. G
Color ::getRgb () — Method in class Color
Get RGB array Color ::getRgba () — Method in class Color
Get RGBA array Color ::getHexString () — Method in class Color
Get hex string. Color ::getAlpha () — Method in class Color
Alpha value. CubicBezier ::getPoint1 () — Method in class CubicBezier
CubicBezier ::getControl1 () — Method in class CubicBezier
CubicBezier ::getControl2 () — Method in class CubicBezier
CubicBezier ::getPoint2 () — Method in class CubicBezier
CubicBezier ::getColor () — Method in class CubicBezier
Ellipse ::getWidth () — Method in class Ellipse
Ellipse ::getHeight () — Method in class Ellipse
Ellipse ::getPos () — Method in class Ellipse
Ellipse ::getBorderSize () — Method in class Ellipse
Ellipse ::getFillColor () — Method in class Ellipse
Ellipse ::getBorderColor () — Method in class Ellipse
Line ::getPoint1 () — Method in class Line
Line ::getPoint2 () — Method in class Line
Line ::getThickness () — Method in class Line
Line ::getColor () — Method in class Line
Polygon ::getWidth () — Method in class Polygon
Polygon ::getHeight () — Method in class Polygon
Polygon ::getPoints () — Method in class Polygon
Polygon ::getBorderSize () — Method in class Polygon
Polygon ::getFillColor () — Method in class Polygon
Polygon ::getBorderColor () — Method in class Polygon
QuadraticBezier ::getPoint1 () — Method in class QuadraticBezier
QuadraticBezier ::getControl () — Method in class QuadraticBezier
QuadraticBezier ::getPoint2 () — Method in class QuadraticBezier
QuadraticBezier ::getColor () — Method in class QuadraticBezier
Rectangle ::getWidth () — Method in class Rectangle
Rectangle ::getHeight () — Method in class Rectangle
Rectangle ::getPos () — Method in class Rectangle
Rectangle ::getBorderSize () — Method in class Rectangle
Rectangle ::getFillColor () — Method in class Rectangle
Rectangle ::getBorderColor () — Method in class Rectangle
Editor ::gdAlpha () — Method in class Editor
Convert alpha value of 0 - 1 to GD compatible alpha value of 0 - 127 where 0 is opaque and 127 is transparent Gamma — Class in namespace Grafika\Gd\Filter
Performs a gamma correction on an image. Grayscale — Class in namespace Grafika\Gd\Filter
Turn image into grayscale. GifByteStream — Class in namespace Grafika\Gd\Helper
Class GifByteStream
Normalize string operations. GifByteStream ::getPosition () — Method in class GifByteStream
GifByteStream ::getBytes () — Method in class GifByteStream
GifHelper — Class in namespace Grafika\Gd\Helper
Image ::getCore () — Method in class Image
Get GD resource ID. Image ::getImageFile () — Method in class Image
Get image file path. Image ::getWidth () — Method in class Image
Get image width in pixels. Image ::getHeight () — Method in class Image
Get image height in pixels. Image ::getType () — Method in class Image
Get image type. Image ::getBlocks () — Method in class Image
Get blocks. Grafika — Class in namespace Grafika
Contains factory methods for detecting editors, creating editors and images. ImageInterface ::getCore () — Method in class ImageInterface
Get Image core. ImageInterface ::getHeight () — Method in class ImageInterface
ImageInterface ::getImageFile () — Method in class ImageInterface
ImageInterface ::getType () — Method in class ImageInterface
ImageInterface ::getWidth () — Method in class ImageInterface
Gamma — Class in namespace Grafika\Imagick\Filter
Performs a gamma correction on an image. Grayscale — Class in namespace Grafika\Imagick\Filter
Turn image into grayscale. Image ::getCore () — Method in class Image
Get Imagick instance Image ::getImageFile () — Method in class Image
Get image file path. Image ::getWidth () — Method in class Image
Get image width in pixels. Image ::getHeight () — Method in class Image
Get image height in pixels. Image ::getType () — Method in class Image
Get image type. Position ::getXY () — Method in class Position
Translate the textual position + offsets into x,y values. Position ::getText () — Method in class Position
Position ::getOffsetY () — Method in class Position
Position ::getOffsetX () — Method in class Position
H
Color ::hexToRgb () — Method in class Color
Convert hex string to RGB Image ::histogram () — Method in class Image
Get histogram from an entire image or its sub-region. AverageHash ::hash () — Method in class AverageHash
Generate and get the average hash of the image. DifferenceHash ::hash () — Method in class DifferenceHash
Generate and get the difference hash of image. Image ::histogram () — Method in class Image
Get histogram from an entire image or its sub-region. AverageHash ::hash () — Method in class AverageHash
Generate and get the average hash of the image. DifferenceHash ::hash () — Method in class DifferenceHash
Generate and get the difference hash of image. I
EditorInterface ::isAvailable () — Method in class EditorInterface
Checks the PHP install if the editor is available. Editor ::isAvailable () — Method in class Editor
Checks if the editor is available on the current PHP install. Invert — Class in namespace Grafika\Gd\Filter
Invert the image colors. GifByteStream ::isEnd () — Method in class GifByteStream
GifHelper ::isAnimated () — Method in class GifHelper
Image — Class in namespace Grafika\Gd
Image class for GD. Image ::isAnimated () — Method in class Image
Returns animated flag. ImageInterface — Class in namespace Grafika
Interface ImageInterface ImageInterface ::isAnimated () — Method in class ImageInterface
Returns animated flag. ImageType — Class in namespace Grafika
Class ImageType. Represent the different image types for GD and Imagick consistently. Editor ::isAvailable () — Method in class Editor
Checks if the editor is available on the current PHP install. Invert — Class in namespace Grafika\Imagick\Filter
Invert the image colors. Image — Class in namespace Grafika\Imagick
Image class for Imagick. Image ::isAnimated () — Method in class Image
Returns animated flag. L
Line — Class in namespace Grafika\DrawingObject
Base class Line — Class in namespace Grafika\Gd\DrawingObject
Class Line GifByteStream ::length () — Method in class GifByteStream
GifHelper ::load () — Method in class GifHelper
Line — Class in namespace Grafika\Imagick\DrawingObject
Class Line N
GifByteStream ::next () — Method in class GifByteStream
O
EditorInterface ::opacity () — Method in class EditorInterface
Change the image opacity. EditorInterface ::open () — Method in class EditorInterface
Open an image file and assign Image to first parameter. Grafika officially supports JPEG, PNG, GIF, and animated GIF. In theory, Grafika can open and edit other image formats as long as they are supported by GD and Imagick but it is currently untested. Editor ::opacity () — Method in class Editor
Sets the image to the specified opacity level where 1.0 is fully opaque and 0.0 is fully transparent. Editor ::open () — Method in class Editor
Open an image file and assign Image to first parameter. GifHelper ::open () — Method in class GifHelper
Editor ::opacity () — Method in class Editor
Sets the image to the specified opacity level where 1.0 is fully opaque and 0.0 is fully transparent. Editor ::open () — Method in class Editor
Open an image file and assign Image to first parameter. P
Polygon — Class in namespace Grafika\DrawingObject
Base class Polygon — Class in namespace Grafika\Gd\DrawingObject
Class Rectangle Pixelate — Class in namespace Grafika\Gd\Filter
Pixelate an image. Polygon — Class in namespace Grafika\Imagick\DrawingObject
Class Polygon Pixelate — Class in namespace Grafika\Imagick\Filter
Pixelate an image. Position — Class in namespace Grafika
Hold and computes position of objects added to canvas. Q
QuadraticBezier — Class in namespace Grafika\DrawingObject
Base class QuadraticBezier — Class in namespace Grafika\Gd\DrawingObject
Class QuadraticBezier QuadraticBezier — Class in namespace Grafika\Imagick\DrawingObject
Class QuadraticBezier R
Rectangle — Class in namespace Grafika\DrawingObject
Base class EditorInterface ::resize () — Method in class EditorInterface
Wrapper function for the resizeXXX family of functions. Resize an image to a given width, height and mode. EditorInterface ::resizeExact () — Method in class EditorInterface
Resize image to exact dimensions ignoring aspect ratio. Useful if you want to force exact width and height. EditorInterface ::resizeExactHeight () — Method in class EditorInterface
Resize image to exact height. Width is auto calculated. Useful for creating row of images with the same height. EditorInterface ::resizeExactWidth () — Method in class EditorInterface
Resize image to exact width. Height is auto calculated. Useful for creating column of images with the same width. EditorInterface ::resizeFill () — Method in class EditorInterface
Resize image to fill all the space in the given dimension. Excess parts are cropped. EditorInterface ::resizeFit () — Method in class EditorInterface
Resize an image to fit within the given width and height. The re-sized image will not exceed the given dimension. Useful if you want to preserve the aspect ratio. EditorInterface ::rotate () — Method in class EditorInterface
Rotate an image counter-clockwise. Rectangle — Class in namespace Grafika\Gd\DrawingObject
Class Rectangle Editor ::resize () — Method in class Editor
Wrapper function for the resizeXXX family of functions. Resize image given width, height and mode. Editor ::resizeExact () — Method in class Editor
Resize image to exact dimensions ignoring aspect ratio. Useful if you want to force exact width and height. Editor ::resizeExactHeight () — Method in class Editor
Resize image to exact height. Width is auto calculated. Useful for creating row of images with the same height. Editor ::resizeExactWidth () — Method in class Editor
Resize image to exact width. Height is auto calculated. Useful for creating column of images with the same width. Editor ::resizeFill () — Method in class Editor
Resize image to fill all the space in the given dimension. Excess parts are cropped. Editor ::resizeFit () — Method in class Editor
Resize image to fit inside the given dimension. No part of the image is lost. Editor ::rotate () — Method in class Editor
Rotate an image counter-clockwise. GifHelper ::resize () — Method in class GifHelper
Rectangle — Class in namespace Grafika\Imagick\DrawingObject
Class Rectangle Editor ::resize () — Method in class Editor
Wrapper function for the resizeXXX family of functions. Resize image given width, height and mode. Editor ::resizeExact () — Method in class Editor
Resize image to exact dimensions ignoring aspect ratio. Useful if you want to force exact width and height. Editor ::resizeExactHeight () — Method in class Editor
Resize image to exact height. Width is auto calculated. Useful for creating row of images with the same height. Editor ::resizeExactWidth () — Method in class Editor
Resize image to exact width. Height is auto calculated. Useful for creating column of images with the same width. Editor ::resizeFill () — Method in class Editor
Resize image to fill all the space in the given dimension. Excess parts are cropped. Editor ::resizeFit () — Method in class Editor
Resize image to fit inside the given dimension. No part of the image is lost. Editor ::rotate () — Method in class Editor
Rotate an image counter-clockwise. S
Color ::setHexString () — Method in class Color
Set hex string. Color ::setAlpha () — Method in class Color
EditorInterface ::save () — Method in class EditorInterface
Save the image to an image format. Editor ::save () — Method in class Editor
Save the image to an image format. Sharpen — Class in namespace Grafika\Gd\Filter
Sharpen an image. Sobel — Class in namespace Grafika\Gd\Filter
Sobel filter is an edge detection filter. GifByteStream ::setPosition () — Method in class GifByteStream
GifHelper ::splitFrames () — Method in class GifHelper
Grafika ::setEditorList () — Method in class Grafika
Change the editor list order of evaluation globally. Editor ::save () — Method in class Editor
Save the image to an image format. Sharpen — Class in namespace Grafika\Imagick\Filter
Sharpen an image. Sobel — Class in namespace Grafika\Imagick\Filter
Sobel filter is an edge detection filter. T
EditorInterface ::text () — Method in class EditorInterface
Write text to image. Editor ::text () — Method in class Editor
Write text to image. Editor ::text () — Method in class Editor
Write text to image. _
Color ::__construct () — Method in class Color
Color constructor. CubicBezier ::__construct () — Method in class CubicBezier
Creates a cubic bezier. Cubic bezier has 2 control points. Ellipse ::__construct () — Method in class Ellipse
Creates an ellipse. Line ::__construct () — Method in class Line
Creates a line. Polygon ::__construct () — Method in class Polygon
Creates a polygon. QuadraticBezier ::__construct () — Method in class QuadraticBezier
Creates a quadratic bezier. Quadratic bezier has 1 control point. Rectangle ::__construct () — Method in class Rectangle
Creates a rectangle. Blur ::__construct () — Method in class Blur
Blur constructor. Brightness ::__construct () — Method in class Brightness
Brightness constructor. Colorize ::__construct () — Method in class Colorize
Colorize constructor. Contrast ::__construct () — Method in class Contrast
Contrast constructor. Dither ::__construct () — Method in class Dither
Dither an image. Gamma ::__construct () — Method in class Gamma
Gamma constructor. Pixelate ::__construct () — Method in class Pixelate
Pixelate constructor. Sharpen ::__construct () — Method in class Sharpen
Sharpen constructor. GifByteStream ::__construct () — Method in class GifByteStream
GifByteStream constructor. Image ::__construct () — Method in class Image
Image constructor. Image ::__clone () — Method in class Image
Method called when 'clone' keyword is used. Blur ::__construct () — Method in class Blur
Blur constructor. Brightness ::__construct () — Method in class Brightness
Brightness constructor. Colorize ::__construct () — Method in class Colorize
Colorize constructor. Contrast ::__construct () — Method in class Contrast
Contrast constructor. Dither ::__construct () — Method in class Dither
Dither an image. Gamma ::__construct () — Method in class Gamma
Gamma constructor. Pixelate ::__construct () — Method in class Pixelate
Pixelate constructor. Sharpen ::__construct () — Method in class Sharpen
Sharpen constructor. Image ::__construct () — Method in class Image
Image constructor. Image ::__clone () — Method in class Image
Position ::__construct () — Method in class Position
Position constructor.