note 17491 added to function.imagejpeg

From: Date: Tue, 11 Dec 2001 13:52:32 +0000
Subject: note 17491 added to function.imagejpeg
Groups: php.notes 
Request: Send a blank email to php-notes+get-22503@lists.php.net to get a copy of this message
Looks like any specified resolution settings in a JPEG file get lost when using imageJPEG() function in a script. I had a high resolution JPEG which i added text to with imagestringup() so my customer can print the emailed JPEG as a filled form, but printing both Graphics from Photoshop revealed that any JPEG created is downsampled to 72 dpi, while width and height is kept. (72 dpi is the standard web resolution) Nothing to wonder about, but maybe if you read this you dont need to scratch your head :) -- http://www.php.net/manual/en/function.imagejpeg.php http://master.php.net/manage/user-notes.php?action=edit+17491 http://master.php.net/manage/user-notes.php?action=delete+17491 http://master.php.net/manage/user-notes.php?action=reject+17491

« previous php.notes (#22503) next »