From: Burke, Gary : GIG IS&T (Gary.Burke at domain guinness.com)
Date: Thu 28 Jun 2001 - 13:22:45 IST
] What sort of tool is recommended for making up pngs or jpegs of text ?
]
] Something like "Make an image from 'hello' that's twenty pixels high, and
]in a bold courier font". Is it easy ? Can I pass the gimp command line
]parameters or some such to do this ?
]
] Is it possible to do it inside PHP/apache ? I've noticed when building
]PHP that it's got functions like;
PHP has functions for doing this - ImageCreateFromText(), for example. RTFM
and look at the Image Functions (chapter XXXI). You need to compile PHP
with the GD library with jpeg-6b.
PHP will handle PNG, JPG and SWF files (Yep, that's Flash files!). GD no
longer manipulates GIF images, but you can still you PHP for getting the
image size of a GIF image.
GD is available at http://www.boutell.com/gd/ and jpeg-6b is available at
ftp://ftp.uu.net/graphics/jpeg
You can also use Type-1 fonts using t1lib (needs to be compiled in too!).
Gary
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:53 GMT