note 24443 rejected from function.imagecopyresized by cece

From: Date: Sat, 16 Aug 2003 20:06:09 +0000
Subject: note 24443 rejected from function.imagecopyresized by cece
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-54447@lists.php.net to get a copy of this message
Note Submitter: info@free-dev.com ---- 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...

« previous php.notes (#54447) next »