Convert an image from one file-type to another
boolean
convert
(
Asido_TMP &$tmp,
string $mime_type)
Resize an image by "framing" it with the provided width and height
boolean
copy
(Asido_Tmp &$tmp, string $applied_image, integer $x, integer $y)
-
Asido_Tmp
&$tmp
-
string
$applied_image: filepath to the image that is going to be copied
-
integer
$x
-
integer
$y
Crop the image
boolean
crop
(
Asido_TMP &$tmp,
integer $x,
integer $y,
integer $width,
integer $height)
-
Asido_TMP
&$tmp
-
integer
$x
-
integer
$y
-
integer
$width
-
integer
$height
Vertically mirror (flip) the image
Horizontally mirror (flop) the image
Resize an image by "framing" it with the provided width and height
boolean
frame
(
Asido_Tmp &$tmp,
integer $width,
integer $height, [
Asido_Color $color =
null])
-
Asido_Tmp
&$tmp
-
integer
$width
-
integer
$height
-
Asido_Color
$color
Get supported mime-types
array
get_supported_types
(mixed $mode)
Checks whether the environment is compatible with this driver
boolean
is_compatible
()
Redefined in descendants as:
Prepare an image for processing it
Resize an image
boolean
resize
(
Asido_TMP &$tmp,
integer $width,
integer $height,
mixed $mode)
-
Asido_TMP
&$tmp
-
integer
$width
-
integer
$height
-
mixed
$mode
Rotate the image clockwise
Save an image after being processed
Returnes whether an image format is supported or not
boolean
supported
(string $mime_type, mixed $mode)
-
string
$mime_type
-
mixed
$mode
Watermark an image
boolean
watermark
(
Asido_TMP &$tmp,
string $watermark_image,
mixed $position,
mixed $scalable,
float $scalable_factor)
-
Asido_TMP
&$tmp
-
string
$watermark_image
-
mixed
$position
-
mixed
$scalable
-
float
$scalable_factor
Get canvas
Redefined in descendants as:
Copy one image to another
boolean
__copy
(
Asido_TMP &$tmp_target,
Asido_TMP &$tmp_source,
integer $destination_x,
integer $destination_y)
-
Asido_TMP
&$tmp_target
-
Asido_TMP
&$tmp_source
-
integer
$destination_x
-
integer
$destination_y
Redefined in descendants as:
Crop the image
boolean
__crop
(
Asido_TMP &$tmp,
integer $x,
integer $y,
integer $width,
integer $height)
-
Asido_TMP
&$tmp
-
integer
$x
-
integer
$y
-
integer
$width
-
integer
$height
Redefined in descendants as:
Destroy the source for the provided temporary object
Redefined in descendants as:
Destroy the target for the provided temporary object
Redefined in descendants as:
Vertically mirror (flip) the image
Redefined in descendants as:
Horizontally mirror (flop) the image
Redefined in descendants as:
Make the image greyscale
Redefined in descendants as:
Open the source and target image for processing it
Redefined in descendants as:
Do the actual resize of an image
boolean
__resize
(
Asido_TMP &$tmp,
integer $width,
integer $height)
-
Asido_TMP
&$tmp
-
integer
$width
-
integer
$height
Redefined in descendants as:
Rotate the image clockwise
Redefined in descendants as:
Return a name for a temporary file
string
__tmpfile
()
Generate a temporary object for the provided argument
Asido_TMP
__tmpimage
(
mixed &$handler, [
string $filename =
null])
-
mixed
&$handler
-
string
$filename: the filename will be automatically generated on the fly, but if you want you can use the filename provided by this argument
Redefined in descendants as:
Write the image after being processed
Redefined in descendants as: