hi to all,

I have a problem here in image resizing, after the image has been resized
, the image has been discolorized. How can i  recreate the image with the
same resolution and color properties.

Here's the sample code from my class file:

 $origPic = ImageCreateFromJpeg( $this -> iOrig[ 'tmp_name' ] );
 $this -> iNew = ImageCreate($nWidth,$nHeight);
  ImageCopyResized($this -> iNew, $origPic, 0, 0, 0, 0, $nWidth, $nHeight,
$width, $height);

Thanx in advance.



Mike


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to