News Feed
Sections




News Archive
feed this:

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


DevShed:
An Image is Worth a Thousand Words in PHP
December 15, 2005 @ 06:57:53

In this new article from DevShed today, there's a look at working with the GD libraries in PHP by doing some fun manipulation exercises (I love manipulation, don't you?)

This article, the first of two parts, describes a fun little project that will help you sharpen your image manipulation skills. The completed application takes an image and converts it to a string of text that resembles the original image. Brian Vaughn gets you started.

Sometimes programming is work, but sometimes' it's fun. Today we're going to work on a fun programming project involving image manipulation. This project will require that PHP be installed with the GD library (available at http://www.boutell.com/gd/, or bundled along with PHP 4.3 and later).

In this first part of the series, all they really do is help you get things set up - a working PHP intallation with GD integrated. They provide initial code for the manipulation class, but it doesn't do much of anything yet. I guess that'll have to wait for part two...

0 comments voice your opinion now!
image thousand words gd graphics manipulation image thousand words gd graphics manipulation



Community Events





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


opinion series community laravel voicesoftheelephpant tool introduction symfony package install security language release version podcast interview composer update framework library

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