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
resourceThe image to create the color from
stringThe hex code of the color
integerThe alpha of the color, 0 (trans) to 100 (opaque)
integerThe colorcreate_transparent_image(integer $width, integer $height, resource $resource) : resource
integerThe width of the image.
integerThe height of the image.
resourceOptionally add an image to the new transparent image.
resourceReturns the image in resource form.image_merge(resource $image, resource $watermark, integer $x, integer $y, integer $alpha)
resourceThe bottom image
resourceThe image to be placed on top
integerThe position of the watermark on the X-axis
integerThe position of the watermark on the Y-axis
integerThe 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