[PHP-DOC] cvs: phpdoc /en/reference/image reference.xml

2007-02-24 Thread David Mytton
dmytton Sat Feb 24 20:57:32 2007 UTC

  Modified files:  
/phpdoc/en/reference/image  reference.xml 
  Log:
  Applied patch in #40525
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/reference.xml?r1=1.29r2=1.30diff_format=u
Index: phpdoc/en/reference/image/reference.xml
diff -u phpdoc/en/reference/image/reference.xml:1.29 
phpdoc/en/reference/image/reference.xml:1.30
--- phpdoc/en/reference/image/reference.xml:1.29Sun Jan 21 15:13:40 2007
+++ phpdoc/en/reference/image/reference.xml Sat Feb 24 20:57:32 2007
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.29 $ --
+!-- $Revision: 1.30 $ --
 !-- Purpose: utilspec.image --
 !-- Membership: bundled --
 
@@ -102,7 +102,13 @@
 row
  entryliteraljpeg-6b/literal/entry
  entryulink url=url.jpeg;url.jpeg;/ulink/entry
- entry/entry
+ entry
+  When buliding the jpeg-v6b library (prior to building PHP) you
+  must use the option role=configure--enable-shared/option
+  option in the configure step.  If you do not, you will receive
+  an error saying literallibjpeg.(a|so) not found/literal
+  when you get to the configure step of building PHP.
+ /entry
 /row
 row
  entryliteralpng/literal/entry


[PHP-DOC] cvs: phpdoc /en/reference/image reference.xml

2006-10-05 Thread Friedhelm Betz
betzThu Oct  5 10:53:33 2006 UTC

  Modified files:  
/phpdoc/en/reference/image  reference.xml 
  Log:
  move exif info to intro, rewording
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/reference.xml?r1=1.27r2=1.28diff_format=u
Index: phpdoc/en/reference/image/reference.xml
diff -u phpdoc/en/reference/image/reference.xml:1.27 
phpdoc/en/reference/image/reference.xml:1.28
--- phpdoc/en/reference/image/reference.xml:1.27Tue Jun  6 15:10:33 2006
+++ phpdoc/en/reference/image/reference.xml Thu Oct  5 10:53:33 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.27 $ --
+!-- $Revision: 1.28 $ --
 !-- Purpose: utilspec.image --
 !-- Membership: bundled --
 
@@ -26,11 +26,20 @@
  acronymTIFF/acronym and acronymJPEG2000/acronym images.
 /para
 para
+  With the link linkend=ref.exifexif extension/link, you are able
+  to work with information stored in headers of
+  acronymJPEG/acronym and acronymTIFF/acronym images. This way you 
can
+  read meta data generated by digital cameras. The exif
+  functions do not require the acronymGD/acronym library.
+/para
+
+para
  note
   simpara
-   Read requirements section about how to expand image capabilities
-   to read, write and modify images and to read meta data of pictures
-   taken by digital cameras.
+   Read the requirements section about how to expand image capabilities
+   to read, write and modify images. To read meta data of pictures
+   taken by digital cameras you need the above mentioned
+   link linkend=ref.exifexif extension/link.
   /simpara
  /note
 /para
@@ -143,21 +152,13 @@
  entryliteralT1lib/literal/entry
  entryulink url=url.t1lib;url.t1lib;/ulink)/entry
  entry
-  Support for Type 1 fonts.
+  Support for Postscript Type 1 fonts.
  /entry
 /row
/tbody
   /tgroup
  /table
 /para
-
-para
- If you have PHP compiled with option 
role=configure--enable-exif/option
- you are able to work with information stored in headers of
- acronymJPEG/acronym and acronymTIFF/acronym images. This way you 
can
- read meta data generated by digital cameras as mentioned above. These
- functions do not require the acronymGD/acronym library.
-/para
/section
 
reference.image.configure;


[PHP-DOC] cvs: phpdoc /en/reference/image reference.xml

2006-06-06 Thread Nuno Lopes
nlopess Tue Jun  6 15:10:33 2006 UTC

  Modified files:  
/phpdoc/en/reference/image  reference.xml 
  Log:
  php 6 requires GD 2.0.33
  
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/image/reference.xml?r1=1.26r2=1.27diff_format=u
Index: phpdoc/en/reference/image/reference.xml
diff -u phpdoc/en/reference/image/reference.xml:1.26 
phpdoc/en/reference/image/reference.xml:1.27
--- phpdoc/en/reference/image/reference.xml:1.26Tue Jun  6 14:14:22 2006
+++ phpdoc/en/reference/image/reference.xml Tue Jun  6 15:10:33 2006
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.26 $ --
+!-- $Revision: 1.27 $ --
 !-- Purpose: utilspec.image --
 !-- Membership: bundled --
 
@@ -62,7 +62,8 @@
 /para
 note
  para
-  Support for GD 1.x has been removed as of PHP 6.0.0.
+  Support for GD 1.x has been removed as of PHP 6.0.0, which requires GD
+  2.0.33 or later.
  /para
 /note
 para



[PHP-DOC] cvs: phpdoc /en/reference/image reference.xml

2004-11-30 Thread Sean Coates
seanTue Nov 30 10:21:05 2004 EDT

  Modified files:  
/phpdoc/en/reference/image  reference.xml 
  Log:
  more GIF patent fun (bug #30941)
  
http://cvs.php.net/diff.php/phpdoc/en/reference/image/reference.xml?r1=1.23r2=1.24ty=u
Index: phpdoc/en/reference/image/reference.xml
diff -u phpdoc/en/reference/image/reference.xml:1.23 
phpdoc/en/reference/image/reference.xml:1.24
--- phpdoc/en/reference/image/reference.xml:1.23Mon Nov 29 21:09:19 2004
+++ phpdoc/en/reference/image/reference.xml Tue Nov 30 10:21:05 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.23 $ --
+!-- $Revision: 1.24 $ --
 reference id=ref.image
  titleImage Functions/title
  titleabbrevImage/titleabbrev
@@ -46,7 +46,8 @@
  acronymGD/acronym might need to access those image formats.
  Versions of acronymGD/acronym older than gd-1.6
  support GIF format images, and do not support PNG, where versions
- greater than gd-1.6 support PNG, not GIF.
+ greater than gd-1.6 and less than gd-2.0.28 support PNG, not GIF. GIF
+ support was re-enabled in gd-2.0.28.
   note
simpara
 Since PHP 4.3 there is a bundled version of the GD lib. This bundled


[PHP-DOC] cvs: phpdoc /en/reference/image reference.xml

2004-08-17 Thread Mehdi Achour
didou   Tue Aug 17 05:55:37 2004 EDT

  Modified files:  
/phpdoc/en/reference/image  reference.xml 
  Log:
  example starts at row 0
  
http://cvs.php.net/diff.php/phpdoc/en/reference/image/reference.xml?r1=1.21r2=1.22ty=u
Index: phpdoc/en/reference/image/reference.xml
diff -u phpdoc/en/reference/image/reference.xml:1.21 
phpdoc/en/reference/image/reference.xml:1.22
--- phpdoc/en/reference/image/reference.xml:1.21Mon Jul 26 11:20:12 2004
+++ phpdoc/en/reference/image/reference.xml Tue Aug 17 05:55:35 2004
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.21 $ --
+!-- $Revision: 1.22 $ --
 reference id=ref.image
  titleImage Functions/title
  titleabbrevImage/titleabbrev
@@ -168,14 +168,16 @@
   programlisting role=php
 ![CDATA[
 ?php
-header(Content-type: image/png);
-$string = $_GET['text'];
-$im = imagecreatefrompng(images/button1.png);
-$orange = imagecolorallocate($im, 220, 210, 60);
-$px = (imagesx($im) - 7.5 * strlen($string)) / 2;
-imagestring($im, 3, $px, 9, $string, $orange);
-imagepng($im);
-imagedestroy($im);
+
+header(Content-type: image/png);
+$string = $_GET['text'];
+$im = imagecreatefrompng(images/button1.png);
+$orange = imagecolorallocate($im, 220, 210, 60);
+$px = (imagesx($im) - 7.5 * strlen($string)) / 2;
+imagestring($im, 3, $px, 9, $string, $orange);
+imagepng($im);
+imagedestroy($im);
+
 ?
 ]]
   /programlisting


[PHP-DOC] cvs: phpdoc /en/reference/image reference.xml

2003-05-27 Thread Friedhelm Betz
betzTue May 27 17:33:31 2003 EDT

  Modified files:  
/phpdoc/en/reference/image  reference.xml 
  Log:
  typo fix
  
  
  
Index: phpdoc/en/reference/image/reference.xml
diff -u phpdoc/en/reference/image/reference.xml:1.16 
phpdoc/en/reference/image/reference.xml:1.17
--- phpdoc/en/reference/image/reference.xml:1.16Mon Apr 14 21:22:23 2003
+++ phpdoc/en/reference/image/reference.xml Tue May 27 17:33:30 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.16 $ --
+!-- $Revision: 1.17 $ --
 reference id=ref.image
  titleImage functions/title
  titleabbrevImage/titleabbrev
@@ -147,7 +147,7 @@
  functions does not require the acronymGD/acronym library.
  note
   simpara
-  PHP does not require any additional library for exif the module.
+  PHP does not require any additional library for the exif module.
   /simpara
  /note
 /para
@@ -219,4 +219,3 @@
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
 --
-



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] cvs: phpdoc /en/reference/image reference.xml /en/reference/image/functions imagecreatefromgif.xml

2003-01-14 Thread CHAILLAN Nicolas
nicos   Tue Jan 14 05:48:57 2003 EDT

  Modified files:  
/phpdoc/en/reference/image  reference.xml 
/phpdoc/en/reference/image/functionsimagecreatefromgif.xml 
  Log:
  Fixing #21630
  
Index: phpdoc/en/reference/image/reference.xml
diff -u phpdoc/en/reference/image/reference.xml:1.13 
phpdoc/en/reference/image/reference.xml:1.14
--- phpdoc/en/reference/image/reference.xml:1.13Thu Dec  5 16:32:46 2002
+++ phpdoc/en/reference/image/reference.xml Tue Jan 14 05:48:56 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.13 $ --
+!-- $Revision: 1.14 $ --
 reference id=ref.image
  titleImage functions/title
  titleabbrevImage/titleabbrev
@@ -53,6 +53,7 @@
 version has some additional features like alpha blending, and should
 be used in preference to the external library
 since it's codebase is better maintained and more stable.
+The bundled version of the GD lib does not support GIF.
/simpara
   /note
 /para
Index: phpdoc/en/reference/image/functions/imagecreatefromgif.xml
diff -u phpdoc/en/reference/image/functions/imagecreatefromgif.xml:1.4 
phpdoc/en/reference/image/functions/imagecreatefromgif.xml:1.5
--- phpdoc/en/reference/image/functions/imagecreatefromgif.xml:1.4  Thu Sep 26 
09:56:54 2002
+++ phpdoc/en/reference/image/functions/imagecreatefromgif.xml  Tue Jan 14 05:48:57 
+2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.4 $ --
+!-- $Revision: 1.5 $ --
 !-- splitted from ./en/functions/image.xml, last change in rev 1.2 --
   refentry id=function.imagecreatefromgif
refnamediv
@@ -47,7 +47,8 @@
   para
Since all GIF support was removed from the GD library in
version 1.6, this function is not available if you are using
-   that version of the GD library.
+   that version of the GD library or the bundled version of the 
+   GD lib.
   /para
  /note
 /para



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DOC] cvs: phpdoc /en/reference/image reference.xml /en/reference/image/functions imagecreatefromgif.xml

2003-01-14 Thread Derick Rethans
On Tue, 14 Jan 2003, CHAILLAN Nicolas wrote:

 nicos Tue Jan 14 05:48:57 2003 EDT
 
   Modified files:  
 /phpdoc/en/reference/imagereference.xml 
 /phpdoc/en/reference/image/functions  imagecreatefromgif.xml 
   Log:
   Fixing #21630
   
 +The bundled version of the GD lib does not support GIF.

That's not true:

[derick@kossu libgd]$ ls -l *gif*
-rw-rw-r--1 derick   derick  16560 Dec  1 12:43 gd_gif_in.c

 -   that version of the GD library.
 +   that version of the GD library or the bundled version of the 
 +   GD lib.

and this neither.

Derick

-- 

-
 Derick Rethans http://derickrethans.nl/ 
 PHP Magazine - PHP Magazine for Professionals   http://php-mag.net/
-


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DOC] cvs: phpdoc /en/reference/image reference.xml /en/reference/image/functions imagecreatefromgif.xml

2003-01-14 Thread Andrey Hristov
isn't only the generation impossible?



Andrey

- Original Message -
From: CHAILLAN Nicolas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 14, 2003 12:48 PM
Subject: [PHP-DOC] cvs: phpdoc /en/reference/image reference.xml
/en/reference/image/functions imagecreatefromgif.xml


 nicos Tue Jan 14 05:48:57 2003 EDT

   Modified files:
 /phpdoc/en/reference/image reference.xml
 /phpdoc/en/reference/image/functions imagecreatefromgif.xml
   Log:
   Fixing #21630

 Index: phpdoc/en/reference/image/reference.xml
 diff -u phpdoc/en/reference/image/reference.xml:1.13
phpdoc/en/reference/image/reference.xml:1.14
 --- phpdoc/en/reference/image/reference.xml:1.13 Thu Dec  5 16:32:46 2002
 +++ phpdoc/en/reference/image/reference.xml Tue Jan 14 05:48:56 2003
 @@ -1,5 +1,5 @@
  ?xml version=1.0 encoding=iso-8859-1?
 -!-- $Revision: 1.13 $ --
 +!-- $Revision: 1.14 $ --
  reference id=ref.image
   titleImage functions/title
   titleabbrevImage/titleabbrev
 @@ -53,6 +53,7 @@
  version has some additional features like alpha blending, and
should
  be used in preference to the external library
  since it's codebase is better maintained and more stable.
 +The bundled version of the GD lib does not support GIF.
 /simpara
/note
  /para
 Index: phpdoc/en/reference/image/functions/imagecreatefromgif.xml
 diff -u phpdoc/en/reference/image/functions/imagecreatefromgif.xml:1.4
phpdoc/en/reference/image/functions/imagecreatefromgif.xml:1.5
 --- phpdoc/en/reference/image/functions/imagecreatefromgif.xml:1.4 Thu Sep
26 09:56:54 2002
 +++ phpdoc/en/reference/image/functions/imagecreatefromgif.xml Tue Jan 14
05:48:57 2003
 @@ -1,5 +1,5 @@
  ?xml version=1.0 encoding=iso-8859-1?
 -!-- $Revision: 1.4 $ --
 +!-- $Revision: 1.5 $ --
  !-- splitted from ./en/functions/image.xml, last change in rev 1.2 --
refentry id=function.imagecreatefromgif
 refnamediv
 @@ -47,7 +47,8 @@
para
 Since all GIF support was removed from the GD library in
 version 1.6, this function is not available if you are using
 -   that version of the GD library.
 +   that version of the GD library or the bundled version of the
 +   GD lib.
/para
   /note
  /para



 --
 PHP Documentation Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DOC] cvs: phpdoc /en/reference/image reference.xml /en/reference/image/functions imagecreatefromgif.xml

2003-01-14 Thread Pierre-Alain Joye
On Tue, 14 Jan 2003 12:55:20 +0200
Andrey Hristov [EMAIL PROTECTED] wrote:

 isn't only the generation impossible?

Yes, reading gif works.

pierre

-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DOC] cvs: phpdoc /en/reference/image reference.xml /en/reference/image/functions imagecreatefromgif.xml

2003-01-14 Thread Pierre-Alain Joye
On Tue, 14 Jan 2003 10:48:57 -
CHAILLAN Nicolas [EMAIL PROTECTED] wrote:

 nicos Tue Jan 14 05:48:57 2003 EDT
 
   Modified files:  
 /phpdoc/en/reference/imagereference.xml 
 /phpdoc/en/reference/image/functions  imagecreatefromgif.xml 
   Log:
   Fixing #21630

I do not want to be a policeman or feel like a chief or whatever, but
can you change/make/destroy/move/commit/delete/scratch whatever you
have the clue/permissions for ?

imho, they are too many things in each part of PHP to let one person
goes everywhere and let him make what he feels good.

pierre

-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DOC] cvs: phpdoc /en/reference/image reference.xml /en/reference/image/functions imagecreatefromgif.xml

2003-01-14 Thread CHAILLAN Nicolas
nicos   Tue Jan 14 06:00:21 2003 EDT

  Modified files:  
/phpdoc/en/reference/image  reference.xml 
/phpdoc/en/reference/image/functionsimagecreatefromgif.xml 
  Log:
  reverting, the doc will need to be clear that it permits only read...
  
Index: phpdoc/en/reference/image/reference.xml
diff -u phpdoc/en/reference/image/reference.xml:1.14 
phpdoc/en/reference/image/reference.xml:1.15
--- phpdoc/en/reference/image/reference.xml:1.14Tue Jan 14 05:48:56 2003
+++ phpdoc/en/reference/image/reference.xml Tue Jan 14 06:00:19 2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.14 $ --
+!-- $Revision: 1.15 $ --
 reference id=ref.image
  titleImage functions/title
  titleabbrevImage/titleabbrev
@@ -53,7 +53,6 @@
 version has some additional features like alpha blending, and should
 be used in preference to the external library
 since it's codebase is better maintained and more stable.
-The bundled version of the GD lib does not support GIF.
/simpara
   /note
 /para
Index: phpdoc/en/reference/image/functions/imagecreatefromgif.xml
diff -u phpdoc/en/reference/image/functions/imagecreatefromgif.xml:1.5 
phpdoc/en/reference/image/functions/imagecreatefromgif.xml:1.6
--- phpdoc/en/reference/image/functions/imagecreatefromgif.xml:1.5  Tue Jan 14 
05:48:57 2003
+++ phpdoc/en/reference/image/functions/imagecreatefromgif.xml  Tue Jan 14 06:00:21 
+2003
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.5 $ --
+!-- $Revision: 1.6 $ --
 !-- splitted from ./en/functions/image.xml, last change in rev 1.2 --
   refentry id=function.imagecreatefromgif
refnamediv
@@ -47,8 +47,7 @@
   para
Since all GIF support was removed from the GD library in
version 1.6, this function is not available if you are using
-   that version of the GD library or the bundled version of the 
-   GD lib.
+   that version of the GD library.
   /para
  /note
 /para



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DOC] cvs: phpdoc /en/reference/image reference.xml /en/reference/image/functions imagecreatefromgif.xml

2003-01-14 Thread Pierre-Alain Joye
On Tue, 14 Jan 2003 12:01:54 +0100
[EMAIL PROTECTED] wrote:

 Well Derick was with me saying that GD bundled didn't supported GIF
 so... but few minutes after my commit we've seen that it supported
 read... Not always my fault.


You misunderstand my point of view (and I do not think I'm the only to
have it). In others words, do not commit/comments(bugs.php.net) in any
part of php where you do not have the clue and/or the permissions. At
least post your changes/diff to the right list (phpdev/phpdoc/peardev).
Having a cvs account and having permissions does not mean I do whatever
I want where I have permissions.

pierre

-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DOC] cvs: phpdoc /en/reference/image reference.xml

2002-12-05 Thread Sara Golemon
pollita Thu Dec  5 16:32:46 2002 EDT

  Modified files:  
/phpdoc/en/reference/image  reference.xml 
  Log:
  Fixed typo (extra '') on xml tag
  
  
Index: phpdoc/en/reference/image/reference.xml
diff -u phpdoc/en/reference/image/reference.xml:1.12 
phpdoc/en/reference/image/reference.xml:1.13
--- phpdoc/en/reference/image/reference.xml:1.12Sat Nov 30 07:45:46 2002
+++ phpdoc/en/reference/image/reference.xml Thu Dec  5 16:32:46 2002
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.12 $ --
+!-- $Revision: 1.13 $ --
 reference id=ref.image
  titleImage functions/title
  titleabbrevImage/titleabbrev
@@ -91,7 +91,7 @@
  /entry
 /row
 row
- entryliteralxpm/literal/entry
+ entryliteralxpm/literal/entry
  entryulink url=url.libxpm;url.libxpm;/ulink/entry
  entry
   It's likely you have this library already available, if your system



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DOC] cvs: phpdoc /en/reference/image reference.xml

2002-10-09 Thread Friedhelm Betz

betzWed Oct  9 04:32:05 2002 EDT

  Modified files:  
/phpdoc/en/reference/image  reference.xml 
  Log:
  example correction, thanks to goba
  
  
Index: phpdoc/en/reference/image/reference.xml
diff -u phpdoc/en/reference/image/reference.xml:1.10 
phpdoc/en/reference/image/reference.xml:1.11
--- phpdoc/en/reference/image/reference.xml:1.10Tue Oct  8 13:53:21 2002
+++ phpdoc/en/reference/image/reference.xml Wed Oct  9 04:32:05 2002
 -1,5 +1,5 
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.10 $ --
+!-- $Revision: 1.11 $ --
 reference id=ref.image
  titleImage functions/title
  titleabbrevImage/titleabbrev
 -105,7 +105,7 
 ![CDATA[
 ?php
 header(Content-type: image/png);
-$string = implode($argv,  );
+$string = $_GET['text'];
 $im = imagecreatefrompng(images/button1.png);
 $orange = imagecolorallocate($im, 220, 210, 60);
 $px = (imagesx($im) - 7.5 * strlen($string)) / 2;



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DOC] cvs: phpdoc /en/reference/image reference.xml

2002-10-08 Thread Friedhelm Betz

betzTue Oct  8 13:53:22 2002 EDT

  Modified files:  
/phpdoc/en/reference/image  reference.xml 
  Log:
  integration from features/images.xml
  
  
Index: phpdoc/en/reference/image/reference.xml
diff -u phpdoc/en/reference/image/reference.xml:1.9 
phpdoc/en/reference/image/reference.xml:1.10
--- phpdoc/en/reference/image/reference.xml:1.9 Thu Sep 26 09:56:53 2002
+++ phpdoc/en/reference/image/reference.xml Tue Oct  8 13:53:21 2002
 -1,12 +1,21 
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.9 $ --
+!-- $Revision: 1.10 $ --
 reference id=ref.image
  titleImage functions/title
  titleabbrevImage/titleabbrev
 
  partintro
section id=image.intro
-   reftitle.intro;
+reftitle.intro;
+para
+ PHP is not limited to creating just HTML output.  It can also be
+ used to create and manipulate image files in a variety of different
+ image formats, including gif, png, jpg, wbmp, and xpm. Even more
+ convenient, PHP can output image streams directly to a browser. You
+ will need to compile PHP with the GD library of image functions for
+ this to work. GD and PHP may also require other libraries, depending
+ on which image formats you want to work with.
+/para
 para
  You can use the image functions in PHP to get the size of
  acronymJPEG/acronym, acronymGIF/acronym,
 -87,6 +96,36 
 
reference.image.constants;
 
+   section id=image.examples
+reftitle.examples;
+para
+ example
+  titlePNG creation with PHP/title
+  programlisting role=php
+![CDATA[
+?php
+header(Content-type: image/png);
+$string = implode($argv,  );
+$im = imagecreatefrompng(images/button1.png);
+$orange = imagecolorallocate($im, 220, 210, 60);
+$px = (imagesx($im) - 7.5 * strlen($string)) / 2;
+imagestring($im, 3, $px, 9, $string, $orange);
+imagepng($im);
+imagedestroy($im);
+?
+]]
+  /programlisting
+ /example
+ This example would be called from a page with a tag like: lt;img
+ src=quot;button.php?textquot;gt;. The above button.php script
+ then takes this quot;textquot; string and overlays it on top of a
+ base image which in this case is quot;images/button1.pngquot;
+ and outputs the resulting image. This is a very convenient way to
+ avoid having to draw new button images every time you want to
+ change the text of a button. With this method they are
+ dynamically generated.
+/para
+   /section
  /partintro
 
 reference.image.functions;



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DOC] cvs: phpdoc /en/reference/image reference.xml

2002-10-08 Thread Gabor Hojtsy

 +header(Content-type: image/png);
 +$string = implode($argv,  );

Using $argv to retrieve GET parameters is a not adviced
way today AFAIK. So this should be modified to use something
like $string = $_GET['text'];

Goba



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DOC] cvs: phpdoc /en/reference/image reference.xml

2002-08-29 Thread Marcus Börger

helly   Thu Aug 29 05:48:09 2002 EDT

  Modified files:  
/phpdoc/en/reference/image  reference.xml 
  Log:
  No libexif needed
  
  
Index: phpdoc/en/reference/image/reference.xml
diff -u phpdoc/en/reference/image/reference.xml:1.6 
phpdoc/en/reference/image/reference.xml:1.7
--- phpdoc/en/reference/image/reference.xml:1.6 Wed Aug 28 14:28:39 2002
+++ phpdoc/en/reference/image/reference.xml Thu Aug 29 05:48:09 2002
 -1,5 +1,5 
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.6 $ --
+!-- $Revision: 1.7 $ --
 reference id=ref.image
  titleImage functions/title
  titleabbrevImage/titleabbrev
 -53,6 +53,11 
  acronymJPEG/acronym and acronymTIFF/acronym images. This way you can
  read meta data generated by digital cameras as mentioned above. These
  functions does not require the acronymGD/acronym library.
+ note
+  simpara
+  PHP does not require any additional library for exif the module.
+  /simpara
+ /note
 /para
/section
 



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DOC] cvs: phpdoc /en/reference/image reference.xml /en/reference/image/functions exif-read-data.xml

2002-08-28 Thread Marcus Börger

helly   Wed Aug 28 07:59:00 2002 EDT

  Modified files:  
/phpdoc/en/reference/image/functionsexif-read-data.xml 
/phpdoc/en/reference/image  reference.xml 
  Log:
  Mention digital camera meta data.
  Clearify capabilities of image 'on first sight'
  
  
Index: phpdoc/en/reference/image/functions/exif-read-data.xml
diff -u phpdoc/en/reference/image/functions/exif-read-data.xml:1.5 
phpdoc/en/reference/image/functions/exif-read-data.xml:1.6
--- phpdoc/en/reference/image/functions/exif-read-data.xml:1.5  Fri Aug 16 12:43:16 
2002
+++ phpdoc/en/reference/image/functions/exif-read-data.xml  Wed Aug 28 07:58:59 
+2002
 -1,11 +1,12 
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.5 $ --
+!-- $Revision: 1.6 $ --
 !-- splitted from ./en/functions/image.xml, last change in rev 1.78 --
   refentry id=function.exif-read-data
refnamediv
 refnameexif_read_data/refname
 refpurposeRead the acronymEXIF/acronym headers from acronymJPEG/acronym
-or acronymTIFF/acronym/refpurpose
+or acronymTIFF/acronym. This way you can read meta data generated by digital
+cameras./refpurpose
/refnamediv
refsect1
 titleDescription/title
Index: phpdoc/en/reference/image/reference.xml
diff -u phpdoc/en/reference/image/reference.xml:1.4 
phpdoc/en/reference/image/reference.xml:1.5
--- phpdoc/en/reference/image/reference.xml:1.4 Fri Aug  9 06:26:03 2002
+++ phpdoc/en/reference/image/reference.xml Wed Aug 28 07:58:59 2002
 -1,5 +1,5 
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.4 $ --
+!-- $Revision: 1.5 $ --
 reference id=ref.image
  titleImage functions/title
  titleabbrevImage/titleabbrev
 -13,6 +13,13 
  acronymPNG/acronym, acronymSWF/acronym,
  acronymTIFF/acronym and acronymJPEG2000/acronym images.
 /para
+para
+ note
+  Read requirements section about how to expand image capabilities
+  to read, write and modify images and to read meta data of pictures
+  taken by digital cameras.
+ /note
+/para
/section
 
section id=image.requirements
 -29,12 +36,21 
  Versions of acronymGD/acronym older than gd-1.6
  support gif format images, and do not support png, where versions
  greater than gd-1.6 support png, not gif.
+ simpara
+  note
+   Since PHP 4.3 there is a bundeled version of the GD lib. This bundeled
+   version has some additional features like alpha blending and should
+   be used in preference to the external library since it's codebase is
+   better maintained and more stable.
+  /note
+ /simpara
 /para
 para
  If you have PHP compiled with option role=configure--enable-exif/option
  you are able to work with information stored in headers of
- acronymJPEG/acronym and acronymTIFF/acronym images. These
- functions do not require the acronymGD/acronym library.
+ acronymJPEG/acronym and acronymTIFF/acronym images. This way you can
+ read meta data generated by digital cameras as mentioned above. These
+ functions does not require the acronymGD/acronym library.
 /para
/section
 



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DOC] cvs: phpdoc /en/reference/image reference.xml

2002-08-28 Thread Dallas Thunder

dallas  Wed Aug 28 14:28:39 2002 EDT

  Modified files:  
/phpdoc/en/reference/image  reference.xml 
  Log:
  Fixed syntax error.
  
  
Index: phpdoc/en/reference/image/reference.xml
diff -u phpdoc/en/reference/image/reference.xml:1.5 
phpdoc/en/reference/image/reference.xml:1.6
--- phpdoc/en/reference/image/reference.xml:1.5 Wed Aug 28 07:58:59 2002
+++ phpdoc/en/reference/image/reference.xml Wed Aug 28 14:28:39 2002
 -1,5 +1,5 
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.5 $ --
+!-- $Revision: 1.6 $ --
 reference id=ref.image
  titleImage functions/title
  titleabbrevImage/titleabbrev
 -15,9 +15,11 
 /para
 para
  note
-  Read requirements section about how to expand image capabilities
-  to read, write and modify images and to read meta data of pictures
-  taken by digital cameras.
+  simpara
+   Read requirements section about how to expand image capabilities
+   to read, write and modify images and to read meta data of pictures
+   taken by digital cameras.
+  /simpara
  /note
 /para
/section
 -36,14 +38,14 
  Versions of acronymGD/acronym older than gd-1.6
  support gif format images, and do not support png, where versions
  greater than gd-1.6 support png, not gif.
- simpara
   note
-   Since PHP 4.3 there is a bundeled version of the GD lib. This bundeled
-   version has some additional features like alpha blending and should
-   be used in preference to the external library since it's codebase is
-   better maintained and more stable.
+   simpara
+Since PHP 4.3 there is a bundeled version of the GD lib. This bundeled
+version has some additional features like alpha blending and should
+be used in preference to the external library since it's codebase is
+better maintained and more stable.
+   /simpara
   /note
- /simpara
 /para
 para
  If you have PHP compiled with option role=configure--enable-exif/option



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php