module CarrierWave::MiniMagick::ClassMethods

def resize_and_pad(width, height, background=:transparent, gravity='Center')

def resize_and_pad(width, height, background=:transparent, gravity='Center')
  process :resize_and_pad => [width, height, background, gravity]
end