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

Community News:
Dutch PHP Conference Tickets Now On Sale
March 31, 2009 @ 13:45:02

For those wanting to attend this year's Dutch PHP Confernece (in Amsterdam), you'll be happt to know that tickets are now on sale!

Ibuildings is proud to organize the third Dutch PHP Conference on June 12 and 13. Plus a pre-conference tutorial day on June 11. Both programs will be completely in English so the only Dutch thing about it is the location. Keywords for these days: Know-how, Technology, Best Practices, Networking, Tips & Tricks.

The cost per ticket ranges from 500 Euro for a full access pass to conference-only tickets for 250 Euro. You can also get a tutorial-only pass if you'd only like to get in on those sessions (for 295 Euro). The conference happens June 11th through 13th so be sure to get your tickets quickly and reserve your spot now!

You can find more information on the Ibuildings blog.

0 comments voice your opinion now!
dpc09 dutch conference ticket sale fill tutorial


Mikko Koppanen's Blog:
Fill patterns
April 29, 2008 @ 15:24:50

Mikko Koppanen has a quick post today showing how to use PHP and Imagick to create an image of text filled with another image layer behind it:

The fill pattern is used to annotate text but the named pattern could also be used to fill any shapes that allow fill to be specified (include circles, ellipses, rectangles, polygons etc etc).

His example is pretty simple (with a "Hello World!" output) that pulls in the background image, creates the composite layer over it, adds the text to it and sets the fill to the background image's layer. The whole this is wrapped up and output as a PNG file.

0 comments voice your opinion now!
fill pattern imagick tutorial example png background image


Mikko Koppanen's Blog:
Creating buttons with Imagick
November 22, 2007 @ 17:05:50

Mikko Koppanen has another quick new tutorial on using Imagick in your applications - this time it's about making buttons dynamically.

The button in this example is created after this tutorial http://xeonfx.com/tutorials/easy-button-tutorial/ (yes, I googled "easy button tutorial"). The code and the button it creates are both very simple but the effect looks really nice.

The example code creates a simple round button with a fill color and white text. Their examples show a red, green and blue buttons.

0 comments voice your opinion now!
imagick button tutorial round fill color font imagick button tutorial round fill color font


Ozh's Blog:
PHP and GD - Emulate Gradient Fill
February 14, 2006 @ 06:54:19

On Ozh's site, FrenchFragFactory.net, today, there's this handy little post dealing with the creation of gradients in PHP with the help of GD.

Here is a small PHP function I wrote that emulates a gradient fill of an image.

Disclaimer : there are probably existing alternatives or classes, maybe in PEAR. I didn't check. I wanted to write a function myself, as part of my GD training grounds.

The script is simple enough, and only uses four different variable values to make the patterns. There are a few examples of the end result in the form of a basic square output, but (as he mentions) it can be used just as easily in other situations. The source code is availible in either plain-text or in a .phps style file.

0 comments voice your opinion now!
gd graphics library emulate gradient fill gd graphics library emulate gradient fill



Community Events





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


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

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