| [ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
(no description)
| Author: | Nicola Asuni |
| Version: | 1.0.003 |
| File Size: | 355 lines (11 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
TCPDF_IMAGES:: (6 methods):
getImageFileType()
setGDImageTransparency()
_toPNG()
_toJPEG()
_parsejpeg()
_parsepng()
Class: TCPDF_IMAGES - X-Ref
| getImageFileType($imgfile, $iminfo=array() X-Ref |
| Return the image type given the file name or array returned by getimagesize() function. param: $imgfile (string) image file name param: $iminfo (array) array of image information returned by getimagesize() function. return: string image type |
| setGDImageTransparency($new_image, $image) X-Ref |
| Set the transparency for the given GD image. param: $new_image (image) GD image object param: $image (image) GD image object. |
| _toPNG($image) X-Ref |
| Convert the loaded image to a PNG and then return a structure for the PDF creator. This function requires GD library and write access to the directory defined on K_PATH_CACHE constant. param: $image (image) Image object. |
| _toJPEG($image, $quality) X-Ref |
| Convert the loaded image to a JPEG and then return a structure for the PDF creator. This function requires GD library and write access to the directory defined on K_PATH_CACHE constant. param: $image (image) Image object. param: $quality (int) JPEG quality. |
| _parsejpeg($file) X-Ref |
| Extract info from a JPEG file without using the GD library. param: $file (string) image file to parse return: array structure containing the image data |
| _parsepng($file) X-Ref |
| Extract info from a PNG file without using the GD library. param: $file (string) image file to parse return: array structure containing the image data |
| Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |