note 24443 added to function.imagecopyresized

From: Date: Fri, 16 Aug 2002 06:01:07 +0000
Subject: note 24443 added to function.imagecopyresized
Groups: php.notes 
Request: Send a blank email to php-notes+get-35123@lists.php.net to get a copy of this message
With the imageresize () PHP function, to conserve the transparency (I'm with product pictures with transparency around), to optimize the first image (witch will be resized), follow these points under photoshop : - make your image with a background-color witch doesn't appears in your picture (for example : red ball on black-bg) - open the menu "file" -> "save for the web", save as "PNG-8", then select as "transparency color" your bg-color (button under the color table) Don't forget that your pictures feel better when the bg color is your site's bg color... -- http://www.php.net/manual/en/function.imagecopyresized.php http://master.php.net/manage/user-notes.php?action=edit+24443 http://master.php.net/manage/user-notes.php?action=delete+24443 http://master.php.net/manage/user-notes.php?action=reject+24443

« previous php.notes (#35123) next »