Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: 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.