load()
output()
save()
sizes()
_border()
_crop()
_flip()
_grayscale()
_mask()
_resize()
_rotate()
_rounded()
_watermark()
add_background()
create_color()
create_transparent_image()
image_merge()
round_corner()
$accepted_extensions
$gdresizefunc
$image_data
load($filename, $return_data, $force_extension)
output($filetype)
save($filename, $permissions)
sizes($filename)
_border($size, $color)
_crop($x1, $y1, $x2, $y2)
_flip($mode)
_grayscale()
_mask($maskimage)
_resize($width, $height, $keepar, $pad)
_rotate($degrees)
_rounded($radius, $sides, $antialias)
_watermark($filename, $position, $padding)
add_background()
create_color(resource $image, string $hex, integer $newalpha) : integer
resource
The image to create the color from
string
The hex code of the color
integer
The alpha of the color, 0 (trans) to 100 (opaque)
integer
The colorcreate_transparent_image(integer $width, integer $height, resource $resource) : resource
integer
The width of the image.
integer
The height of the image.
resource
Optionally add an image to the new transparent image.
resource
Returns the image in resource form.image_merge(resource $image, resource $watermark, integer $x, integer $y, integer $alpha)
resource
The bottom image
resource
The image to be placed on top
integer
The position of the watermark on the X-axis
integer
The position of the watermark on the Y-axis
integer
The transparency of the watermark, 0 (trans) to 100 (opaque)
round_corner(resource $image, integer $radius, integer $antialias, boolean $top, boolean $left)
resource
integer
integer
boolean
boolean
$accepted_extensions
$gdresizefunc
$image_data