Date: 10/10/98
- Next message: Bug Database: "[PHP-DEV] Bug #443 Updated: Unable to operate on dBase and standard file simultaneously."
- Previous message: Bug Database: "[PHP-DEV] Bug #837 Updated: Transparency for image functions"
- Next in thread: jim: "[PHP-DEV] CVS update: php3/doc/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Saturday October 10, 1998 @ 18:35
Author: jim
Update of /repository/php3/doc/functions
In directory asf:/u2/tmp/cvs-serv17219/doc/functions
Modified Files:
image.sgml
Log Message:
Make ImageInterlace and ImageColorTransparent parameters optional, and make them return the appropriate information. (So now you can simply query what the transparent color is or if the image is interlaced.)
Index: php3/doc/functions/image.sgml
diff -c php3/doc/functions/image.sgml:1.18 php3/doc/functions/image.sgml:1.19
*** php3/doc/functions/image.sgml:1.18 Thu Oct 8 08:28:56 1998
--- php3/doc/functions/image.sgml Sat Oct 10 18:35:51 1998
***************
*** 161,172 ****
<funcsynopsis>
<funcdef>int <function>imagecolortransparent</function></funcdef>
<paramdef>int <parameter>im</parameter></paramdef>
! <paramdef>int <parameter>col</parameter></paramdef>
</funcsynopsis>
! <para> ImageColorTransparent sets the transparent color in the im image
! to col. im is the image identifier returned by <function>imagecreate</function>
! and col is the color identifier returned by
! <function>imagecolorallocate</function>.
</refsect1>
</refentry>
--- 161,176 ----
<funcsynopsis>
<funcdef>int <function>imagecolortransparent</function></funcdef>
<paramdef>int <parameter>im</parameter></paramdef>
! <paramdef>int <parameter><optional>col</optional></parameter></paramdef>
</funcsynopsis>
! <para>
! ImageColorTransparent sets the transparent color in the im image
! to col. im is the image identifier returned by <function>imagecreate</function>
! and col is a color identifier returned by
! <function>imagecolorallocate</function>.
! <para>
! The identifier of the new (or current, if none is specified) transparent
! color is returned.
</refsect1>
</refentry>
***************
*** 434,444 ****
<funcsynopsis>
<funcdef>int <function>imageinterlace</function></funcdef>
<paramdef>int <parameter>im</parameter></paramdef>
! <paramdef>int <parameter>interlace</parameter></paramdef>
</funcsynopsis>
! <para> ImageInterlace turns the interlace bit on or off. If interlace is
! 1 the im image will be interlaced, and if interlace is 0 the
! interlace bit is turned off.
</refsect1>
</refentry>
--- 438,451 ----
<funcsynopsis>
<funcdef>int <function>imageinterlace</function></funcdef>
<paramdef>int <parameter>im</parameter></paramdef>
! <paramdef>int <parameter><optional>interlace</optional></parameter></paramdef>
</funcsynopsis>
! <para>
! <function>ImageInterlace</function> turns the interlace bit on or off.
! If interlace is 1 the im image will be interlaced, and if interlace
! is 0 the interlace bit is turned off.
! <para>
! This functions returns whether the interlace bit is set for the image.
</refsect1>
</refentry>
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: Bug Database: "[PHP-DEV] Bug #443 Updated: Unable to operate on dBase and standard file simultaneously."
- Previous message: Bug Database: "[PHP-DEV] Bug #837 Updated: Transparency for image functions"
- Next in thread: jim: "[PHP-DEV] CVS update: php3/doc/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

