PHP Graphics Handbook
Jason E. Sweat; Allan Kent; Mitja Slenc
Sold by ThriftBooks-Atlanta, AUSTELL, GA, U.S.A.
AbeBooks Seller since March 24, 2009
Used - Soft cover
Condition: Used - Good
Ships within U.S.A.
Quantity: 1 available
Add to basketSold by ThriftBooks-Atlanta, AUSTELL, GA, U.S.A.
AbeBooks Seller since March 24, 2009
Condition: Used - Good
Quantity: 1 available
Add to basketPages can have notes/highlighting. Spine may show signs of wear. ~ ThriftBooks: Read More, Spend Less.
Seller Inventory # G1861008368I3N00
Here's an example. Say you wanted to display data from an online poll - the results of which were changing all the time - in a professional-looking graph. You could regenerate an image of the graph periodically, by using a spreadsheet application and updating the data values it contains every so often by hand. But who really wants to waste time like that? Wouldn't it be much better to store the poll data in a database, and then get PHP to link to that, pull out the data, and use a graphics library to display the poll directly in the browser? We show you how.
Here's another. Many websites display thumbnails of images that you click on to display the full size image, or perhaps as a link to another page. Of course, we don't want to have to create thumbnails of all these images ourselves, and then store the thumbnails and full size images too. A much more effective way to handle thumbnails is to generate them "on the fly" from the original image, which we can do several ways using PHP. But which approach would produce the best quality thumbnails? And which would create them the fastest? We tell you.
Both of these examples involve generating images or charts dynamically (on the fly). This is the main benefit of using PHP to generate graphics, so it's the thread that links all of the topics we discuss in the book. With the knowledge you pick up from the book, you'll be able to enhance the appearance and functionality of your website dramatically.
The book teaches you how to apply all of the following techniques on the fly using your PHP code:
- Creating new image files in various formats and drawing on blank images
- Merging, blurring, cropping, copying and cutting-up images
- The most effective ways to generate thumbnails and store images
- Manipulating color, grayscaling and duotone, adjusting brightness
- Adding transparency, soft and hard shadows, and watermarks
- How to add text to images: handling fonts and text layout
- How to create professional-looking charts and graphs
"About this title" may belong to another edition of this title.
We guarantee the condition of every book as it's described
on the Abebooks website. If you're dissatisfied with your
purchase (Incorrect Book/Not as Described/Damaged) or if the
order hasn't arrived, you're eligible for a refund within 30
days of the estimated delivery date. If you've changed your
mind about a book that you've ordered, please use the "Ask
bookseller a question link to contact us" and we'll respond
as soon as possible.
All domestic Standard shipments are distributed from our warehouses by OSM, then handed off to the USPS for final delivery.
2-Day Shipping is delivered by FedEx, which does not deliver to PO boxes.
International shipments are tendered to the local postal service in the destination country for final delivery – We do not use courier services for international deliveries.
| Order quantity | 4 to 8 business days | 4 to 8 business days |
|---|---|---|
| First item | US$ 0.00 | US$ 0.00 |
Delivery times are set by sellers and vary by carrier and location. Orders passing through Customs may face delays and buyers are responsible for any associated duties or fees. Sellers may contact you regarding additional charges to cover any increased costs to ship your items.