cvs: pecl /imagick package.xml /imagick/examples set_image_quality.php

From: Date: Mon, 08 Mar 2004 16:30:30 +0000
Subject: cvs: pecl /imagick package.xml /imagick/examples set_image_quality.php
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-1019@lists.php.net to get a copy of this message
mcmontero Mon Mar 8 11:30:30 2004 EDT Added files: /pecl/imagick/examples set_image_quality.php Modified files: /pecl/imagick package.xml Log: - added examples/set_image_quality.php for testing the imagick_set_image_quality() function. Thanks to Derrick DeLoreno Threatt <dthreatt@digitalcreations.net> for bringing up the need for this function and testing it. http://cvs.php.net/diff.php/pecl/imagick/package.xml?r1=1.66&r2=1.67&ty=u Index: pecl/imagick/package.xml diff -u pecl/imagick/package.xml:1.66 pecl/imagick/package.xml:1.67 --- pecl/imagick/package.xml:1.66 Mon Mar 8 11:12:13 2004 +++ pecl/imagick/package.xml Mon Mar 8 11:30:29 2004 @@ -39,6 +39,10 @@ <hdn@umich.edu> for finding this, recommending the change and testing it. - added imagick_set_image_quality() for manipulating the quality of the resultant image. +- added examples/set_image_quality.php for testing the + imagick_set_image_quality() function. Thanks to Derrick DeLoreno Threatt + <dthreatt@digitalcreations.net> for bringing up the need for this function + and testing it. </notes> <state>beta</state> </release> http://cvs.php.net/co.php/pecl/imagick/examples/set_image_quality.php?r=1.1&p=1 Index: pecl/imagick/examples/set_image_quality.php +++ pecl/imagick/examples/set_image_quality.php <? if ( !( $handle = imagick_readimage( "./image.jpg" ) ) ) { print "imagick_readimage() failed:<BR>\n" . imagick_error() ; exit ; } imagick_set_image_quality( $handle, 75 ) ; if ( !imagick_writeimage( $handle, "./new_image.jpg" ) ) { print "imagick_writeimage() failed:<BR>\n" . imagick_error( $handle ) ; exit ; } header( "Location: images_jpg.html" ) ; ?>

« previous php.pecl.cvs (#1019) next »