Hi,
is it possible to define the background of cropped images? I have a preset where images are first scaled to certain width and then cropped to make them exact height. Some of the scaled images are smaller than the height defined in the crop action. The result is black background. Available image toolkits are Imagemagick and GD.

I'm using Drupal 5.1 and imagecache 5.x-1.2.

Comments

quicksketch’s picture

I've noticed this behavior also. Unfortunately as long as we're using the Drupal image_crop() function this color is simply a by-product of creating a new blank image. Until imagecache begins using transformer module (in development), I don't think this behavior will change.

svetlin’s picture

Status: Active » Closed (fixed)

Thanks for the reply. I'll have to use just the scale action then.