summaryrefslogtreecommitdiff
path: root/includes/image.inc
Commit message (Collapse)AuthorAge
* - Patch #40631 by Chris Johnson: is_array() slower than isset() or empty().Dries Buytaert2005-12-14
|
* - Patch #30930 by m3avrck/deekayen: cured PHP5 warnings.Dries Buytaert2005-10-22
|
* - Patch #30122 by m3verick: changed include_once()'s to include "./$file"Dries Buytaert2005-09-08
| | | | for performance's sake.
* - Patch #29385 by chx: no ?> add end of files.Dries Buytaert2005-08-25
|
* - Patch #27863 by Robrecht: fixed order of parameters passed to imagecopy(). ↵Dries Buytaert2005-07-31
| | | | Could result in black images.
* - Patch #27431 by Cvbge: add file size infomation to image_get_info()Dries Buytaert2005-07-31
|
* - Patch #24157 by chx/Robin/...: changed file_exists() to is_file() to fix ↵Dries Buytaert2005-06-19
| | | | several problems with modules using theimage toolkit.
* - #19517: Fix GD2 toolkit error.Steven Wittens2005-03-29
| | | | - Tweak code style.
* - Patch #18700 by Stefan and James: removed GD1 calls, improved error/status ↵Dries Buytaert2005-03-23
| | | | reporting, etc.
* #17477: Remove dependency on GD for avatar uploading.Steven Wittens2005-02-21
|
* - Patch #16358 by James: added toolkit to enable better image handling. The ↵Dries Buytaert2005-02-01
avatar code and the upload module have been updated to take advantage of the new image API. There are 5 main functions that modules may now utilize to handle images: * image_get_info() - this function checks a file. If it exists and is a valid image file, it will return an array containing things like the pixel dimensions of the image, plus the 'type' and common extension. * image_scale - resizes a given image to fit within a given width / height dimensions, while maintaining aspect ratio (not distorting the image). This function can be used to generate thumbnails, or ensure a maximum resolution, etc. * image_resize - similar to image_scale (but will not respect aspect ratio - may well distort the image). * image_rotate - rotate an image by X degrees * image_crop - crops an image to a given rectangle (defined as top-left x/y coordinates plus a width & height of the rectangle). Contribution modules will now be able to rely on these base manipulation functions to offer additional functionality (such as image nodes, photo galleries, advanced image manipulation, etc).