[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/imageapi/ -> imageapi_gd.module (summary)

(no description)

File Size: 430 lines (15 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 11 functions

  imageapi_gd_imageapi_toolkit()
  imageapi_gd_settings_form()
  imageapi_gd_image_open()
  imageapi_gd_image_close()
  imageapi_gd_image_crop()
  imageapi_gd_image_resize()
  imageapi_gd_image_rotate()
  imageapi_gd_image_sharpen()
  imageapi_gd_image_desaturate()
  imageapi_gd_create_tmp()
  imageapi_gd_unsharp_mask()

Functions
Functions that are not part of a class:

imageapi_gd_imageapi_toolkit()   X-Ref
Implementation of hook_imageapi_toolkit().

this hook only gets called to see is a module implements the imageapi hooks...

imageapi_gd_settings_form()   X-Ref
Settings form for the toolkit.


imageapi_gd_image_open($image)   X-Ref
Open an image file.

param: $image
return:

imageapi_gd_image_close($image, $destination)   X-Ref
Save an image file to a destination.

param: $image
param: $destination
param: $extension
return:

imageapi_gd_image_crop(&$image, $x, $y, $width, $height)   X-Ref
Crop an image using the GD toolkit.

param: $image
param: $x
param: $y
param: $width
param: $height
return:

imageapi_gd_image_resize(&$image, $width, $height)   X-Ref
Scale an image to the specified size using GD.

param: $image
param: $width
param: $height
return:

imageapi_gd_image_rotate(&$image, $degrees, $background)   X-Ref
Rotate an image the given number of degrees.

param: $image
param: $degrees
param: $background
return:

imageapi_gd_image_sharpen(&$image, $radius, $sigma, $amount, $threshold)   X-Ref
No description

imageapi_gd_image_desaturate(&$image)   X-Ref
Convert an image resource to grayscale.

Note that transparent GIFs loose transparency when desaturated.

param: $image
return:

imageapi_gd_create_tmp($image, $width, $height)   X-Ref
Create a truecolor image preserving transparency from a provided image.

param: $image
param: $width
param: $height
return:

imageapi_gd_unsharp_mask($img, $radius, $sigma, $amount, $threshold)   X-Ref
$sigma is currently unused for _gd_sharp_mask due to 3x3 convolution matrix limit.
we should explore properly implementing sigma.




Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7