note 23445 rejected from function.imagejpeg by didou
| From: | didou@php.net | Date: | Wed, 22 Oct 2003 12:23:39 +0000 |
| Subject: | note 23445 rejected from function.imagejpeg by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-59125@lists.php.net to get a copy of this message | ||
Note Submitter: erik@astrochicken.net
----
In response to Paul, you appear to be copying the image to a new one that you create (probably with
ImageCreateFromJpeg(), eh)? When you do so, make sure you use ImageCopyResampled() rather than
ImageCopyResize(). This maintains the image quality very well when resizing. Some people have posted
that using ImageCreateTrueColor() is also a must.
As for my question, is there anyway to easily get around the reduction in resolution down to 72dpi?
I need the ability to print out higher resolution pictures, while also utilizing the resize
functions. Thanks.