Active
Project:
ImageCache Actions
Version:
7.x-1.x-dev
Component:
Canvas Actions Module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Mar 2013 at 12:05 UTC
Updated:
13 Mar 2013 at 14:12 UTC
Would be nice to be able to trim all spacing around a given image. The module could detect the boundaries of the real image content and remove the rest.
Comments
Comment #1
fietserwinWhat do you mean with "spacing transparency"? How did this spacing get in the image in the 1st place?
There is a smart crop module, but I am not sure if it serves your use case. Might only work base don "given resulting size, determine best crop position".
Comment #2
BarisW commentedHi Erwin,
I have sites where clients deliver images with added spacing. In Photoshop I can simply fix this with Trim > Transparency.
However, when having hundreds of images, it could be nice if Imagecache Actions could solve this.
I agree, it's a weird use-case, but might be handy for some sites?
Comment #3
fietserwinUsing imagemagick this seems to be quite easy to do with a custom action: http://www.imagemagick.org/script/command-line-options.php#trim
Looks indeed like a special case, for now this is a won't fix for me for this module.