Closed (fixed)
Project:
ImageCache Actions
Version:
7.x-1.x-dev
Component:
Canvas Actions Module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Nov 2011 at 20:13 UTC
Updated:
7 Mar 2013 at 03:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
fietserwinCrop is not an effect provided by the imagecache_actions module but by Drupal core (as id Scale and crop). Moreover crop does not have a background color field as, apparently, it is assumed that it will only make the canvas smaller.
So what effect do you mean?
BTW: For some effects, leaving the color/HEX field empty will be interpreted as transparent.
Comment #2
dman commentedIt was also intended that RGBA values would be supported in color selectors.

eg #000000FF is transparent white, and you can define a canvas with that.
As ever, convert to PNG if you want that to turn up in the result.
Comment #3
dman commentedOnly for the imagecache actions side - not for core crop (though define_canvas also will crop as a side-effect)
We could probably add that to the docs there.
Comment #4
shaneonabike commentedI don't think I understand fully... I tried something to the effect you suggested but still get a black background in one area. I tried by setting the background to transparent to start, but it still ends up with a black section. Here's what I used... am I totally wrong here??
* Define canvas left:2 right:2 top:2 bottom:2 Transparent under image
* Change file format Convert to: png
* Scale width 991
* Crop 991x398