Date: 01/08/01
- Next message: Richard Heyes: "[PHP-DEV] RE: [PHP-PEAR] CVS ACL's have been activated"
- Previous message: Denis Gasparin: "[PHP-DEV] New functions to php Image Functions (gd.c)"
- In reply to: Denis Gasparin: "[PHP-DEV] New functions to php Image Functions (gd.c)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <email protected>
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Richard Heyes: "[PHP-DEV] RE: [PHP-PEAR] CVS ACL's have been activated"
- Previous message: Denis Gasparin: "[PHP-DEV] New functions to php Image Functions (gd.c)"
- In reply to: Denis Gasparin: "[PHP-DEV] New functions to php Image Functions (gd.c)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

