Graphics with Cairo

Michael MacLean (Jun 11, 2010 at 13:30)
Talk at Dutch PHP Conference 2010 (English - UK)

Rating: 4 of 5

Generating graphics on-the-fly in PHP applications is a common requirement. Cairo, from the Freedesktop project, is a fast 2D vector graphics library with outputs to many different devices. It is already used by many big-name Open Source projects such as GNOME and Mozilla Firefox. The PECL Cairo extension for PHP 5.2 and above provides an easy-to-use interface and to Cairo useful for generating images, SVGs and PDFs. This talk will demonstrate how to use its features in common situations, and compare it with other image libraries such as GD. Major points to be presented:
Overview of the Cairo library
Basics of using PECL/Cairo for drawing images
SVG, PDF and Postscript
Text handling
Integration with existing PHP frameworks and libraries
Examples

Comments

Rating: 5 of 5

Jun 11, 2010, 12:12 by Anonymous

Super fun talk. Lots of energy from the speaker, very well prepared too.

Rating: 4 of 5

Jun 11, 2010, 13:08 by Anonymous

Cairo was well explained (it was new to me). Although the method names didn't seem very intuitive to me.

Rating: 3 of 5

Jun 11, 2010, 17:45 by renebakx

speaker was good. content made me go hrmmm a few times to much. Why use a scale from 0 to 1 to describe RGB values while most of the world uses 0 to 255. Same goes for method names and constructors. Cairo has potential but the API needs a more critical look

Rating: 3 of 5

Jun 12, 2010, 12:08 by Conor

Not very interesting as Cairo is rather immature. I was hoping for more information regarding PDF generation.

Rating: 4 of 5

Jun 12, 2010, 21:03 by Anonymous

The talk was good. It was a bit fast, but ended within the time frame.
The slides could be better. Add some slides that do a step-by-step code/output annimations.

Rating: 5 of 5

Jun 14, 2010, 08:24 by arnolambert

very good talk, a little to fast but it covered all I wanted to know about Cairo for php. Always nice to see someone who really knows the topic from the inside.

Rating: 5 of 5

Jun 14, 2010, 18:04 by Martin1982

At the last minute I decided I wanted to see something else than just the architecture and QA sessions so I just walked into Michael's talk. It was pretty impressive to see that Cairo was so much faster than already known libraries like GD and ImageMagick. These are the kind of slides that convince me to look further into it. And although the rest of the presentation was mainly an explanation of the classes and methods it sure helps to get started quickly.

Rating: 3 of 5

Jun 16, 2010, 15:39 by tswann

A nice break from the norm, the talk was informative and included some simple code examples. A good starting point for getting to know Cairo.

The flow of the speaker's style itself was a little slow and jerky, but the content was very good.

Want to comment on this talk? Log in or create a new account or comment anonymously

Write a comment

 
Please note: you are not logged in and will be posting anonymously!
© Joind.in 2010