Documentation

Gd extends AbstractFilter
in package

Filter class for Gd

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com)

license

http://www.popphp.org/license New BSD License

version
4.0.0

Table of Contents

Properties

$image  : mixed
Image object

Methods

__construct()  : mixed
Constructor
blur()  : Gd
Blur the image
colorize()  : Gd
Colorize the image
getImage()  : AbstractAdapter|null
Get the image object
hasImage()  : bool
Has the image object
negate()  : Gd
Create a negative of the image
pencil()  : Gd
Apply a pencil/sketch effect to the image
pixelate()  : Gd
Pixelate the image
setImage()  : AbstractEditObject
Set the image object
sharpen()  : Gd
Sharpen the image.

Properties

Methods

blur()

Blur the image

public blur(int $amount[, int $type = IMG_FILTER_GAUSSIAN_BLUR ]) : Gd
Parameters
$amount : int
$type : int = IMG_FILTER_GAUSSIAN_BLUR
Return values
Gd

colorize()

Colorize the image

public colorize(Rgb $color) : Gd
Parameters
$color : Rgb
Return values
Gd

negate()

Create a negative of the image

public negate() : Gd
Return values
Gd

pencil()

Apply a pencil/sketch effect to the image

public pencil() : Gd
Return values
Gd

pixelate()

Pixelate the image

public pixelate(int $px) : Gd
Parameters
$px : int
Return values
Gd

sharpen()

Sharpen the image.

public sharpen(int $amount) : Gd
Parameters
$amount : int
Return values
Gd

        
On this page

Search results