[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/class/gallery/resizers/ -> gallerygdresizer.class.php (sommaire)

(pas de description)

Poids: 354 lignes (13 kb)
Inclus ou requis:0 fois
Référencé: 1 fois
Nécessite: 0 fichiers

Définit 1 class

GalleryGDResizer:: (11 méthodes):
  GalleryGDResizer()
  generate()
  thumbnail()
  size_height()
  size_width()
  size_auto()
  jpeg_quality()
  isGD2Available()
  ImageResize()
  save()
  calcThumbFormat()


Classe: GalleryGDResizer  - X-Ref

\ingroup Gallery_resizer

Generates thumbnails using the built-in GD library functionality.

Based off Shiege Iseng's (shiegege@yahoo.com) Resize Class found somewhere in
the net, but heavily modified specially concerning error situations.

GalleryGDResizer( $image, $outputMethod )   X-Ref
Pas de description

generate( $outFile, $width, $height )   X-Ref


thumbnail($imgfile)   X-Ref


size_height($size=100)   X-Ref


size_width($size=100)   X-Ref


size_auto($size=100)   X-Ref


jpeg_quality($quality=75)   X-Ref


isGD2Available()   X-Ref
returns true if gd2 is available or false otherwise.
Based on a comment found in http://fi2.php.net/imagecreatetruecolor by aaron at aaron-wright dot com
(credit is due where it is due :)

return: true if GD2 is available or false otherwise

ImageResize($dst_img, &$src_img, $dst_x, $dst_y, $src_x, $src_y, $dst_w, $dst_h, $src_w, $src_h, $resample = GD_RESIZER_NO_SMOOTHING_MODE )   X-Ref
resizes an image using several different techniques:

PHP's own ImageCopyResamplated
Bi-linear filter (slower, but better quality than ImageCopyResampled)
Bi-Cubic filter (slowest, but offers the best quality)
PHP's own ImageCopyResized (fastest one, but offers no antialising or filter)


save( $save = "" )   X-Ref


calcThumbFormat($width, $height)   X-Ref
Pas de description



Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics