News Feed
Sections




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

Cory Borrow's Blog:
Creating thumbs from textfiles with PHP and GD
January 16, 2008 @ 12:50:00

Cory Borrow has posted a tutorial he's created to show how to harness the power of PHP and GD to create thumbnail images out of the contents of a text file.

Today, I'll give a little info on how to achieve the process of creating a thumbnail using PHP, GD and the text from a text file. It is really pretty simple, so lets get started.

The trick behind the translation is in reading in the contents of the (plain) text file and pushing it into a string value of a newly created GD-generated image. He includes the code to make using it in your own app simple (a cut and paste version) - his method FileToThumb.

0 comments voice your opinion now!
thumbnail image gd tutorial text file contents thumbnail image gd tutorial text file contents


blog comments powered by Disqus

Similar Posts

NETTUTS.com: How To Build a Widget to Display your Buzzing

NETTUTS.com: Twitter Emulation Using MooTools 1.2 and PHP

VXTIndia Blog: How to setup your new VPS Ubuntu server

Kevin Schroeder's Blog: A little more advanced ZF2 EventManager usage

Sameer Borate's Blog: Detecting duplicate code in PHP files


Community Events





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


release bugfix language laravel interview symfony podcast framework library install introduction voicesoftheelephpant package opinion api community tips list deployment series

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