News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
An Image is Worth a Thousand Words in PHP (Part 2)
December 22, 2005 @ 07:18:50

Devshed has posted the second part in their "An Image is Worth a Thousand Words in PHP" series today - this time working more with the content, characters, and colors.

We are about to pick up where we left off in part one, but first a quick summary of what we have done so far. We began by creating our conversion class and naming it 'img_to_txt'. Inside this class we defined several basic accessory methods, to allow our users a variety of options. Last, we also set up a method for returning the appropriate CSS markup based on the user's browser type.

That's what we've done so far - but there's a lot more to do, so let's get started.

They wrap up the series by showing how to change some of the colors (inlcuding the code for each color) and, finally, how to export it out to an image...

0 comments voice your opinion now!
image thousand words GD text export image thousand words GD text export


blog comments powered by Disqus

Similar Posts

Secunia.com: PHP "gdPngReadData()" Truncated PNG Data Denial of Service

Richard Davey's Blog: Interesting memory use with GD images

Jakob Westhoff's Blog: It's alive - Image_3D live browser rendering

PHPClasses.org: Using Composer to Install JavaScript, CSS & Images Under the Web Document Directory

Tobias Schlitt\'s Blog: The eZ components tutorial online


Community Events

Don't see your event here?
Let us know!


symfony2 series framework install configure application podcast performance opinion php7 laravel example language community release introduction conference api interview library

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework