| [ Index ] |
|
Code source de Drupal 5.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 328 lignes (9 kb) |
| Inclus ou requis: | 1 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
| image_get_available_toolkits() X-Ref |
| Return a list of available toolkits. return: An array of toolkit name => descriptive title. |
| image_get_toolkit() X-Ref |
| Retrieve the name of the currently used toolkit. return: String containing the name of the toolkit. |
| image_toolkit_invoke($method, $params = array() X-Ref |
| Invokes the given method using the currently selected toolkit. param: $method A string containing the method to invoke. param: $params An optional array of parameters to pass to the toolkit method. return: Mixed values (typically Boolean for successful operation). |
| image_get_info($file) X-Ref |
| Get details about an image. return: array containing information about the image |
| image_scale($source, $destination, $width, $height) X-Ref |
| Scales an image to the given width and height while maintaining aspect ratio. param: $source The filepath of the source image param: $destination The file path of the destination image param: $width The target width param: $height The target height return: True or FALSE, based on success |
| image_resize($source, $destination, $width, $height) X-Ref |
| Resize an image to the given dimensions (ignoring aspect ratio). param: $source The filepath of the source image. param: $destination The file path of the destination image. param: $width The target width. param: $height The target height. |
| image_rotate($source, $destination, $degrees) X-Ref |
| Rotate an image by the given number of degrees. param: $source The filepath of the source image param: $destination The file path of the destination image param: $degrees The number of (clockwise) degrees to rotate the image |
| image_crop($source, $destination, $x, $y, $width, $height) X-Ref |
| Crop an image to the rectangle specified by the given rectangle. param: $source The filepath of the source image param: $destination The file path of the destination image param: $x The top left co-ordinate of the crop area (x axis value) param: $y The top left co-ordinate of the crop area (y axis value) param: $width The target width param: $height The target height |
| image_gd_settings() X-Ref |
| Retrieve settings for the GD2 toolkit. |
| image_gd_check_settings() X-Ref |
| Verify GD2 settings (that the right version is actually installed). return: boolean |
| image_gd_resize($source, $destination, $width, $height) X-Ref |
| Scale an image to the specified size using GD. |
| image_gd_rotate($source, $destination, $degrees, $bg_color = 0) X-Ref |
| Rotate an image the given number of degrees. |
| image_gd_crop($source, $destination, $x, $y, $width, $height) X-Ref |
| Crop an image using the GD toolkit. |
| image_gd_open($file, $extension) X-Ref |
| GD helper function to create an image resource from a file. |
| image_gd_close($res, $destination, $extension) X-Ref |
| GD helper to write an image resource to a destination file. |
| Généré le : Fri Nov 30 16:20:15 2007 | par Balluche grâce à PHPXref 0.7 |
|