Drupal有很多很强大的模块,Imagecache就是一个强大的图片编辑模块,可以对图片就行缩放、剪裁等简单操作。而ImageCache Action在Imagecache的基础上,提供了更为强大的操作。
ImageCache Actions的图片编辑功能有:
- 添加水印:Watermarking – a much requested addition that enables you to place any image anywhere over a source picture, with alpha transparency
- 图片叠加:Overlays – Add photo-corners etc to the image
- 加添文字:Text overlay – add a short copyright notice to your image, using available system fonts
- 颜色变换:Color-shifting – Colorize images. Also invert.
- 亮度调整:Brighten/Darken
- 通道便捷:Alpha blending – turn an image into a transparent mask, and back into a flat image against another color
Drupal有很多很强大的模块,Imagecache就是一个强大的图片编辑模块,可以对图片就行缩放、剪裁等简单操作。而ImageCache Action在Imagecache的基础上,提供了更为强大的操作。
ImageCache Actions的图片编辑功能有:
- 添加水印:Watermarking – a much requested addition that enables you to place any image anywhere over a source picture, with alpha transparency
- 图片叠加:Overlays – Add photo-corners etc to the image
- 加添文字:Text overlay – add a short copyright notice to your image, using available system fonts
- 颜色变换:Color-shifting – Colorize images. Also invert.
- 亮度调整:Brighten/Darken
- 通道便捷:Alpha blending – turn an image into a transparent mask, and back into a flat image against another color
- 画布操作:Canvas manipulation – add padding, either onto color or transparent backgrounds
- 背景图片:Background – Place your image onto another source background
- 图片文件格式转换:File Format switcher – If you need tranparency in JPGs : make them PNG. If your PNG thumbnails are 30K each, save them as JPGs
- 图片圆角实现:Rounded corners (transparent). With input from canaryMason, we can even set different radius for different corners, and round just one corner etc.
- 调整长宽比:Aspect Switcher new 2009-08 – lets you perform different actions or use different dimensions based on whether the image is ‘landscape’ or ‘portrait’
- 自定义操作:Custom Actions – Execute your own PHP/GD code in the middle of an imagecache generation process. Requires some familiarity with imageAPI internals.
ImageCache图片功能示例: