Smart Image Processor PHP 2 Manual
Smart Image Processor PHP 2 is DMXzone’s most powerful Image Resize, Enhancement and Manipulation extension that allows you to quickly and easily process multiple images, create thumbnails, use image options such as crop, flip, rotate, sharpen and blur, or create grayscale images. You can even brand your image by including a watermark or text.
Smart Image Processor PHP 2 is compatible with GD2 and ImageMagick! Most PHP servers already have GD2 or ImageMagick installed but our extension enables you to utilize the full power of those graphical components like never before! By empowering true image manipulation without any hand coding Smart Image Processor PHP 2 will change the way you enhance your images forever!
Applying Multiple Actions and creating thumbnails
Introduction
If you haven't done a basic resize yet,
make sure you follow the Resize Uploaded images tutorial first. You don't need
a file upload field if you select the folder option when Resizing an entire
folder.
In this tutorial we use a file upload
field, resize the image and apply the rotate, flip, sharpen and grayscale
options, we'll also create a thumbnail.
Note: each manipulation is processed using the
previous actions, so make sure you set your actions in the right order.
Original Image
The result of the action will be as
follows:
Rotated left Flipped
horizontal
Sharpened
Blurred
Applied Grayscale Created Thumbnail
How it works
- Apply the first server behavior -
rotate
Let's rotate the image to the left by selecting
the Rotate Left option in the dropdown box. Click OK to apply the
Smart Image Processor PHP 2 server behavior.
- Apply the second server behavior -
Flip
To mirror the image horizontally by selecting
the Flip Horizontal option. Click OK to apply the Smart Image
Processor PHP 2 server behavior. You can also Flip the Image vertically
if you like to.
- Apply the third server behavior -
Sharpen
Let's sharpen the image by selecting the Sharpen option. Click OK to apply the Smart Image Processor PHP 2
server behavior.
- Apply the fourth server behavior -
Blur
To mirror the image horizontally by selecting
the Blur option. Click OK to apply the Smart Image Processor PHP 2
server behavior.
- Apply the fifth server behavior – Grayscale
Let's create a black and white image by
selecting the Grayscale option. Click OK to apply the Smart Image
Processor PHP 2 server behavior.
- Apply the fifth server behavior – Thumbnail
Let's create a black and white image by
checking the Resize option and by entering a value of 100 for
both the Width and Height while keeping the Aspect ratio. Click
OK to apply the Smart Image Processor PHP 2 server behavior. Press
F12 and upload an image, the resulting images on your server should look
the same as displayed in the introduction.