Dragonfly how resize small image and fill gaps with some color?

303 Views Asked by At

Is it possible to resize with Dragonfly gem small image 70x70 to 160x70 and fill gaps with specific color I try some recipes from here http://markevans.github.com/dragonfly/file.ImageMagick.html

something like image.process(:resize, '160x70#', :background_color => 'transparent')

Is there any way?

0

There are 0 best solutions below