|
Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
|
gdlib.php - Collection of routines in Moodle related to processing images using GD More...
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. | |
gdlib.php - Collection of routines in Moodle related to processing images using GD