note 23445 added to function.imagejpeg

From: Date: Thu, 18 Jul 2002 17:13:49 +0000
Subject: note 23445 added to function.imagejpeg
Groups: php.notes 
Request: Send a blank email to php-notes+get-33260@lists.php.net to get a copy of this message
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. -- http://www.php.net/manual/en/function.imagejpeg.php http://master.php.net/manage/user-notes.php?action=edit+23445 http://master.php.net/manage/user-notes.php?action=delete+23445 http://master.php.net/manage/user-notes.php?action=reject+23445

« previous php.notes (#33260) next »