E-books in Russian and English
|
| ImageMagick Tricks: Web Image Effects from the Command Line and PHPdate: 4 сентября 2009 / author: izograv / категория: Php / views: 1473 / comments: 0 ImageMagick Tricks: Web Image Effects from the Command Line and PHP by Sohail Salehi ImageMagick is a command-line image processing system from ImageMagick Studio, LLC. It is used by websites for dynamic processing and displaying images. If the number of images on your site is not too large, you will probably process the images in a graphics program such as Photoshop and display the images on your site using HTML and CSS. Although it is mostly used by websites with huge numbers of images, another option is to use a command-line system such as ImageMagick to process and display your images on the fly. For example, the free online encyclopedia Wikipedia uses ImageMagick's command-line utilities for their imaging needs. In this book, Sohail Salehi teaches what ImageMagick is and how to do some nice tricks with it. There are many small workshop exercises throughout the book that reinforce what you have learned. Salehi begins with an introduction and then walks you through installing and configuring ImageMagic on your system. Next, he covers the basic command-line utilities ranging from the simple resizing and formatting of images to applying special effects, watermarks and creating animation all from text-based commands. I found the second half of the book to be the most useful. It presents several web applications using ImageMagick and PHP. The first was a confirmation-code box. You have probably encountered one of these when you opened an account on the web. It is that little box containing a mystery code of numbers and letters and you must enter this code in the web form to prove that you are a real person filling out the form and not a web robot. Salehi shows you how to use ImageMagick and PHP to generate the mystery code and display it in the web form. Another application that I really liked was a three-step process for a customizable e-card application which uses ImageMagick utilities to create the thumbnail and gallery images for an HTML-based web gallery. He also shows you how to use ImageMagick to dynamically customize the e-cards with text and graphics based on user input.
Comments: 0
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Design/Web/Support/Anti-Leech by izograv @ yandex.ru
Optimized for Firefox | Anti-Leech tested on IE, Firefox, Reget