| 1 |
***************************************************************************************************
|
| 2 |
* Module: Imagemagick *
|
| 3 |
* Author: Phani Kumar Arava (phani.arava@gmail.com) *
|
| 4 |
* Start Date: 05/24/2006 *
|
| 5 |
* Updated Date: 07/3/2006 *
|
| 6 |
* Tested with: Drupal-4.7.2
|
| 7 |
***************************************************************************************************
|
| 8 |
|
| 9 |
Module Description:
|
| 10 |
|
| 11 |
Integrate Imagemagick into Drupal.
|
| 12 |
|
| 13 |
Files: imagemagick2.inc, README
|
| 14 |
|
| 15 |
Copy the imagemagick2.inc into the includes diretory to get the advanced imagemagick2 toolkit option in the administer->settings->Image Handling Toolit.
|
| 16 |
|
| 17 |
Select the Advanced Imagemagick Toolkit.
|
| 18 |
|
| 19 |
The default image.module resize should work fine with this. Additional functionality will be written as a new module called image2.module
|
| 20 |
|
| 21 |
Present Image Manipulation Functions:
|
| 22 |
1) Resize
|
| 23 |
2) Crop
|
| 24 |
3) Blur
|
| 25 |
4) Rotate
|
| 26 |
5) Blur
|
| 27 |
6) Charcoal
|
| 28 |
7) Emboss
|
| 29 |
8) Sharpen
|
| 30 |
9) Swirl
|
| 31 |
10) Spread
|
| 32 |
11) Solarize
|
| 33 |
12) Flip
|
| 34 |
13) Flop
|
| 35 |
14) Magnify
|
| 36 |
15) Minify
|
| 37 |
16) Normalize
|
| 38 |
17) Trim
|
| 39 |
18) Transparent
|
| 40 |
|
| 41 |
|
| 42 |
TODO: Write a image2.module which will have the following functionality (Showing the power of the imagemagick library)
|
| 43 |
|
| 44 |
1) Upload a image. Save the origial image
|
| 45 |
2) Allow image manipulation.
|
| 46 |
3) Save the original and the manipulated image as node
|
| 47 |
|