[ Index ] |
PHP Cross Reference of Textpattern 4.0.8 |
[Source view] [Print] [Project Stats]
class wet_thumb
Author: | C. Erdmann |
Author: | Robert Wetzlmayr |
File Size: | 418 lines (17 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
wet_thumb( ) X-Ref |
constructor |
write( $infile, $outfile ) X-Ref |
write thumbnail file param: infile image file name param: outfile array of thumb file names (1...n) return: boolean, true indicates success |
asTag( $aslink = true, $aspopup = false ) X-Ref |
return a reference to the the thumbnailimage as a HTML <a> or <img> tag param: aslink return an anchor tag to the source image param: aspopup open link in new window return: string with suitable HTML markup |
txp_thumb($id) X-Ref |
No description |
write( ) X-Ref |
create thumbnail image from source image return: boolean, true indicates success |
delete( ) X-Ref |
delete thumbnail return: boolean, true indicates success |
UnsharpMask($img, $amount, $radius, $threshold) X-Ref |
Unsharp mask algorithm by Torstein Hønsi 2003 (thoensi_at_netcom_dot_no) Christoph Erdmann: changed it a little, cause i could not reproduce the darker blurred image, now it is up to 15% faster with same results param: img image as a ressource param: amount filter parameter param: radius filter parameter param: treshold filter parameter return: sharpened image as a ressource |
Generated: Thu May 21 23:03:01 2009 | Cross-referenced by PHPXref 0.7 |