phpDocumentor default
[ class tree: default ] [ index: default ] [ all elements ]

Procedural File: images.php

Source Location: /lodel/scripts/images.php

Page Details

Fichier utilitaire proposant diverses fonction de gestion d'images

PHP versions 4 et 5

LODEL - Logiciel d'Edition ELectronique.

Copyright (c) 2001-2002, Ghislain Picard, Marin Dacos Copyright (c) 2003, Ghislain Picard, Marin Dacos, Luc Santeramo, Nicolas Nutten, Anne Gentil-Beccot Copyright (c) 2004, Ghislain Picard, Marin Dacos, Luc Santeramo, Anne Gentil-Beccot, Bruno Cénou Copyright (c) 2005, Ghislain Picard, Marin Dacos, Luc Santeramo, Gautier Poupeau, Jean Lamy, Bruno Cénou Copyright (c) 2006, Marin Dacos, Luc Santeramo, Bruno Cénou, Jean Lamy, Mikaël Cixous, Sophie Malafosse Copyright (c) 2007, Marin Dacos, Bruno Cénou, Sophie Malafosse, Pierre-Alain Mignot

Home page: http://www.lodel.org

E-Mail: lodel@lodel.org

All Rights Reserved

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

Author:  Jean Lamy
Author:  Ghislain Picard
Version:  CVS:$Id:
Copyright:  2005, Ghislain Picard, Marin Dacos, Luc Santeramo, Gautier Poupeau, Jean Lamy, Bruno Cénou
Copyright:  2006, Marin Dacos, Luc Santeramo, Bruno Cénou, Jean Lamy, Mikaël Cixous, Sophie Malafosse
Copyright:  2007, Marin Dacos, Bruno Cénou, Sophie Malafosse, Pierre-Alain Mignot
Filesource:  Source Code for this file
Functions
GDVersion  [line 143]

la GDVersion( )

Récupère le numéro de version de la GD si celle-ci est installée Get which version of GD is installed, if any.


API Tags:
Return:  version (1 or 2) de l'extension GD installée


[ Top ]
resize_image  [line 57]

boolean resize_image( string $taille, string $src, string &$dest  )

Redimensionner une image

Cette fonction utilise la librairie GD de PHP. Il faut donc qu'elle soit installée pour que cette fonction soit utilisable. Si la GD n'est pas installée, la fonction retournera false

Parameters:
string   $taille:  la nouvelle taille de l'image. Peut être un entier ou une chaine représentant la longueur et la largeur
string   $src:  l'image source
string   &$dest:  l'image redimensionnée

API Tags:
Return:  true si l'image a bien pue être transformée.


[ Top ]


Documentation generated on Thu, 19 Jun 2008 05:07:51 +0200 by phpDocumentor 1.4.0a2