Actions Overview
Index
- Auto Contrast - Maximize image contrast
- Background - Put colour under transparent image
- Border - Crop or add border to all sides
- Brightness - Adjust brightness from black to white
- Canvas - Crop the image or enlarge canvas without resizing the image
- Colorize - Colorize grayscale image
- Common - Copies the most common pixel value
- Contrast - Adjust from grey to black & white
- Convert Mode - Convert the color mode of an image (grayscale, RGB, RGBA or CMYK)
- Copy - Copy image file
- Effect - Blur, Sharpen, Emboss, Smooth, …
- Equalize - Equalize the image histogram
- Fit - Downsize and crop image with fixed ratio
- Grayscale - Fade all colours to gray
- Invert - Invert the colors of the image (negative)
- Maximum - Copies the maximum pixel value
- Mask - Apply a transparency mask
- Median - Copies the median pixel value
- Minimum - Copies the minimum pixel value
- Offset - Offset by distance and wrap around
- Posterize - Reduce the number of bits of colour channel
- Perspective - Shear 2d or 3d
- Rank - Copies the rank'th pixel value
- Reflect - Drops a reflection
- Rename - Rename image file
- Rotate - Rotate with random angle
- Round - Round or crossed corners with variable radius and corners
- Saturation - Adjust saturation from grayscale to high
- Save - Save an image with variable compression in different types
- Scale - Scale an image with different resample filters.
- Shadow - Drop a blurred shadow under a photo with variable position, blur and color
- Solarize - Invert all pixel values above threshold
- Text - Write text at a given position
- Transpose - Flip or rotate an image by 90 degrees
- Watermark - Apply a watermark image with variable placement (offset, scaling, tiling) and opacity
Do NOT forget to add a Save in the end of your action list!! (Unless the list only consists of 'file' actions such as rename or copy.)
Third Party Actions
These actions are developed by the community and may be accepted in Phatch in the future.
- Cms - Convert the image from a color space to another, using ICC profiles
Source Code
If you know Python, you can easily write actions with the documentation of Python Image Library (PIL), which is also the base for the documentation of a lot of the actions listed above. You can browse the source code of the actions in folder /phatch/actions on launchpad. Most actions have the PIL function first, followed by the action which provides it.
page_revision: 33, last_edited: 1203636505|%e %b %Y, %H:%M %Z (%O ago)

























