| [ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 254 lignes (8 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 1 fichier phpgwapi/js/htmlarea/plugins/UploadImage/popups/ImageEditor/Transform.php |
Classe: Image_Transform_Driver_NetPBM - X-Ref
| Image_Transform_Driver_NetPBM() X-Ref |
| Class Constructor |
| load($image) X-Ref |
| Load image param: string filename return: mixed none or a PEAR error object on error |
| _resize($new_x, $new_y) X-Ref |
| Resizes the image return: none |
| crop($crop_x, $crop_y, $crop_width, $crop_height) X-Ref |
| Crop the image param: int $crop_x left column of the image param: int $crop_y top row of the image param: int $crop_width new cropped image width param: int $crop_height new cropped image height |
| rotate($angle) X-Ref |
| Rotates the image param: int $angle The angle to rotate the image through |
| flip($horizontal) X-Ref |
| Flip the image horizontally or vertically param: boolean $horizontal true if horizontal flip, vertical otherwise |
| gamma($outputgamma = 1.0) X-Ref |
| Adjust the image gamma param: float $outputgamma return: none |
| addText($params) X-Ref |
| adds text to an image param: array options Array contains options return: none |
| _postProcess($type, $quality, $save_type) X-Ref |
| Pas de description |
| save($filename, $type=null, $quality = 85) X-Ref |
| Save the image file param: $filename string the name of the file to write to param: string $type (jpeg,png...); param: int $quality 75 return: none |
| display($type = null, $quality = 75) X-Ref |
| Display image without saving and lose changes param: string $type (jpeg,png...); param: int $quality 75 return: none |
| free() X-Ref |
| Destroy image handle return: none |
| Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |