You might want to check out netpbm. I've seen that it makes better quality
Plus, you can include it in your package (if appropriate) and people that
don't have GD installed can use it.
----- Original Message -----
From: "Rankin, Randy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, October 24, 2002 7:38 AM
Subject: [PHP] RE: [PHP-DB] Broken Links 2
> Thanks to everyone for the help.
> For those interested, I have posted the final code below. It functions
> beautifully with one exception: the resized image quality is rather poor.
> am now reading through the php manual and newsgroups for a solution, but
> anyone knows how to handle this it would be great to hear from you.
> Thanks again for all your help!
> --------- BEGIN CODE ------------------
> if( $image_id )
> $sql="SELECT image_bin_data from IMAGES where image_id='$image_id'";
> $result=db_query ( $sql );
> $record=db_fetch_object ( $result );
> Header("Content-type: image/png");
> $dst_img=@ImageCreate($new_w, $new_h);
> --------- END CODE ------------------
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php