Wrox Programmer Forums
|
Pro PHP Advanced PHP coding discussions. Beginning-level questions will be redirected to the Beginning PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 17th, 2004, 01:09 PM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anshul
Default php gd2/image

i m using PHP 4.3.4, i can't write text on .gif image
but i need only .gif not .png because i want2write text
on an animated .gif image what should i do ?

also inbuilt font-size is maximum of 5 so my next problem is use bigger readable! font-size 3rd expectation is to change the font-type,
i want2use comic sans!

can't PHP has this flexibility2offer ?
note that i mean transparent, animated image; ( so .gif )
also i can't modify installation of PHP, it is not local
__________________
`~@#\^%&*/\.<.\/-|+|_!:;..=?>
PHP, SEO | anshul shrivastava | mediasworks.org | FB
 
Old November 18th, 2004, 06:29 PM
Registered User
 
Join Date: Nov 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

actually only solution is to upgrade PHP engine because 4.3.4 doesn't support gd.

 
Old November 19th, 2004, 04:55 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anshul
Default

Support for php gd2/image can be enabled in PHP 4.3.4 php.ini
We can very easily write on .png and .jpg/.jpeg images but this can't be done on .gif images; also we can use any font file we have at server. But text can't be written on animated images i.e. gif

See example in php documentation.

When we need image buttons, we can write text on .png single image file.

 
Old November 23rd, 2004, 12:27 PM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 117
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Hi anshul
if you are using php on the windows, I know you cannot get .gif, I had that problem too.
and if you are using *nix that should work, see the documentation on php.net and you will find out.

Angain if you are using php on windows, i think it's better to change the windows to Unix OR Linux because windows is really piky.

Thanks
Regards
Mani_he






Similar Threads
Thread Thread Starter Forum Replies Last Post
Image with php from msaccess sua234 Beginning PHP 0 March 9th, 2008 01:33 AM
php image resize danu_322 PHP FAQs 0 November 2nd, 2007 09:29 AM
Image Fading Using PHP [email protected] PHP How-To 0 April 27th, 2007 03:58 AM
GD2 Library installation problem in redhat 9 ghalebro Linux 1 August 19th, 2004 08:53 AM
Scrolling Image PHP? cottager BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 December 22nd, 2003 04:43 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.