summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-07-16 02:39:38 +0000
committerDries Buytaert <dries@buytaert.net>2010-07-16 02:39:38 +0000
commitef832ddf05f9f4b08dc45999936c829a991a8093 (patch)
treeb12e00cc3afbc8ee6f69d251b9aa5a5baacb4e92
parent7b3d03aa83729e8ec5c0d2aeaeb04280ea135f01 (diff)
downloadbrdo-ef832ddf05f9f4b08dc45999936c829a991a8093.tar.gz
brdo-ef832ddf05f9f4b08dc45999936c829a991a8093.tar.bz2
- Patch #855316 by aspilicious: fix newlines in image.inc.
-rw-r--r--includes/image.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/includes/image.inc b/includes/image.inc
index 98d99b0de..63eb88b5c 100644
--- a/includes/image.inc
+++ b/includes/image.inc
@@ -85,6 +85,7 @@ function image_get_toolkit() {
* An image object returned by image_load().
* @param $params
* An optional array of parameters to pass to the toolkit method.
+ *
* @return
* Mixed values (typically Boolean indicating successful operation).
*/
@@ -109,6 +110,7 @@ function image_toolkit_invoke($method, stdClass $image, array $params = array())
* String specifying the path of the image file.
* @param $toolkit
* An optional image toolkit name to override the default.
+ *
* @return
* FALSE, if the file could not be found or is not an image. Otherwise, a
* keyed array containing information about the image:
@@ -155,6 +157,7 @@ function image_get_info($filepath, $toolkit = FALSE) {
* The target width, in pixels.
* @param $height
* The target height, in pixels.
+ *
* @return
* TRUE or FALSE, based on success.
*
@@ -189,6 +192,7 @@ function image_scale_and_crop(stdClass $image, $width, $height) {
* @param $upscale
* Boolean indicating that files smaller than the dimensions will be scaled
* up. This generally results in a low quality image.
+ *
* @return
* TRUE or FALSE, based on success.
*
@@ -233,6 +237,7 @@ function image_scale(stdClass $image, $width = NULL, $height = NULL, $upscale =
* The target width, in pixels.
* @param $height
* The target height, in pixels.
+ *
* @return
* TRUE or FALSE, based on success.
*
@@ -259,6 +264,7 @@ function image_resize(stdClass $image, $width, $height) {
* 0xff00ff for magenta, and 0xffffff for white. For images that support
* transparency, this will default to transparent. Otherwise it will
* be white.
+ *
* @return
* TRUE or FALSE, based on success.
*
@@ -282,6 +288,7 @@ function image_rotate(stdClass $image, $degrees, $background = NULL) {
* The target width, in pixels.
* @param $height
* The target height, in pixels.
+ *
* @return
* TRUE or FALSE, based on success.
*
@@ -305,6 +312,7 @@ function image_crop(stdClass $image, $x, $y, $width, $height) {
*
* @param $image
* An image object returned by image_load().
+ *
* @return
* TRUE or FALSE, based on success.
*
@@ -325,6 +333,7 @@ function image_desaturate(stdClass $image) {
* Path to an image file.
* @param $toolkit
* An optional, image toolkit name to override the default.
+ *
* @return
* An image object or FALSE if there was a problem loading the file. The
* image object has the following properties:
@@ -367,6 +376,7 @@ function image_load($file, $toolkit = FALSE) {
* @param $destination
* Destination path where the image should be saved. If it is empty the
* original image file will be overwritten.
+ *
* @return
* TRUE or FALSE, based on success.
*