Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Functions | |
generate_image_thumbnail ($filepath, $width, $height) | |
Generates a thumbnail for the given image. | |
generate_image_thumbnail_from_image ($original, $imageinfo, $width, $height) | |
Generates a thumbnail for the given image string. | |
generate_image_thumbnail_from_string ($filedata, $width, $height) | |
Generates a thumbnail for the given image string. | |
imagecopybicubic ($dst_img, $src_img, $dst_x, $dst_y, $src_x, $src_y, $dst_w, $dst_h, $src_w, $src_h) | |
Copies a rectangular portion of the source image to another rectangle in the destination image. | |
process_new_icon ($context, $component, $filearea, $itemid, $originalfile, $preferpng=false) | |
Stores optimised icon images in icon file area. | |
resize_image ($filepath, $width, $height, $forcecanvas=false) | |
Resize an image from an image path. | |
resize_image_from_image ($original, $imageinfo, $width, $height, $forcecanvas=false) | |
Resize an image from an image object. | |