From 3926f3aba010ea7594a9d66c8f0e3f5ae223dcfd Mon Sep 17 00:00:00 2001 From: Sander Roobol Date: Sat, 1 Mar 2003 11:49:17 +0000 Subject: [PATCH] Adding documentation by Pierre-Alain Joye for these two functions. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@118549 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../image/functions/imageistruecolor.xml | 43 +++++++++++++++ reference/image/functions/imagesavealpha.xml | 55 +++++++++++++++++++ 2 files changed, 98 insertions(+) create mode 100644 reference/image/functions/imageistruecolor.xml create mode 100644 reference/image/functions/imagesavealpha.xml diff --git a/reference/image/functions/imageistruecolor.xml b/reference/image/functions/imageistruecolor.xml new file mode 100644 index 0000000000..2800706bd2 --- /dev/null +++ b/reference/image/functions/imageistruecolor.xml @@ -0,0 +1,43 @@ + + + + + + imageistruecolorcreate + Finds whether an image is a truecolor image. + + + Description + + boolimageistruecolor + resourceimage + + + imageistruecolor finds whether an image is a truecolor image. + + + See also imagecreatetruecolor. + + + + + diff --git a/reference/image/functions/imagesavealpha.xml b/reference/image/functions/imagesavealpha.xml new file mode 100644 index 0000000000..d0ae853dbb --- /dev/null +++ b/reference/image/functions/imagesavealpha.xml @@ -0,0 +1,55 @@ + + + + + + imagesavealpha + Set the flag to save full alpha channel information (as opposed to + single-color transparency) when saving PNG images. + + + Description + + boolimagesavealpha + resourceimage + boolsaveflag + + + imagesavealpha sets the flat to attempt to save full alpha + channel information (as opposed to single-color transparency) when saving PNG images. + + + You have to unset alphablending (imagealphaplending($im, &false;)) to use it. + + + Alpha channel is not supported by all browsers, if you have problem with + your browser, try to load your script with a alpha channel compliant + browser, e.g. latest Mozilla. + + + See also imagealphablending. + + + + + +