Documentation

Gd extends AbstractAdjust
in package

Adjust 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
brightness()  : Gd
Adjust the image brightness
contrast()  : Gd
Adjust the image contrast
desaturate()  : Gd
Adjust the image desaturate
getImage()  : AbstractAdapter|null
Get the image object
hasImage()  : bool
Has the image object
setImage()  : AbstractEditObject
Set the image object

Properties

Methods

brightness()

Adjust the image brightness

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

contrast()

Adjust the image contrast

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

desaturate()

Adjust the image desaturate

public desaturate() : Gd
Return values
Gd

        
On this page

Search results