Re: New functions to php Image Functions (gd.c)

From: Date: Mon, 08 Jan 2001 15:32:04 +0000
Subject: Re: New functions to php Image Functions (gd.c)
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-43389@lists.php.net to get a copy of this message
On Mon, 8 Jan 2001, Denis Gasparin wrote: > Hi, my name is Denis Gasparin. > I'm a student of computational engineering at the University of Padua (Italy). > I'm developing a project for my thesis that uses the php image functions. > Because I needed some functions that were too slow if they were written in > Php, I wrote them in C and inserted them in the gd.c . > These functions are two (actually one that is called by the two): > > JpegToWbmp( str jpegfile, str wbmpfile, int resize_width, int > resize_heigth, int contrast) > PngToWbmp( str pngfile, str wbmpfile, int resize_width, int resize_heigth, > int contrast) > > They performs the conversion of a graphic file (Jpeg and Png) to the wbmp > format using the GD library functions. > The conversion (of the size) is done without stretching the image. The > contrast parameter is a value between 0 and 8 needed to convert the image > from color to black&white only. > > If you want these functions included in the Php Image functions in the next > Php distribution, i'm ready to give you the source code of these functions. Contributions are always welcome :) Can you make a patch against the current CVS and post it here (or mail it me directly)? Derick derick@php.net

« previous php.dev (#43389) next »