Problem/Motivation

This should be more or less straight port of the 'Define canvas' effect from D7 version of ImageCache actions module.

Proposed resolution

Provide patch and test coverage.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mondrake created an issue. See original summary.

mondrake’s picture

Status: Active » Needs review
Issue tags: +Needs tests, +Needs manual testing
FileSize
39.87 KB

First patch, tests are missing. Takes loads of helpers from Textimage.

mondrake’s picture

Status: Needs review » Needs work
mondrake’s picture

Status: Needs work » Needs review
Issue tags: -Needs tests
FileSize
45.15 KB
6.37 KB

Adding tests, ready for review.

mondrake’s picture

FileSize
1.02 KB
46.17 KB

Adding the effect to the table in README.md

mondrake’s picture

mondrake’s picture

FileSize
46.17 KB
6 KB

Renamed the configuration key 'canvas_mode' to 'canvas_size', to make it more clear what it is about. Possibly in the future this effect may also include a background image to be set as canvas, rather than just the current color/transparency. But I'd leave that to a follow up as this patch is just porting the equivalent effect from ImageCache Actions, and is already big enough.

slashrsm’s picture

Status: Needs review » Fixed

Patch needed reroll, but it wasn't to bad. Committed. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.