No commit activity in last 3 years
No release in over 3 years
Places watermark on images
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

CarrierWave Watermarker

Watermarker provides a simple processor for placing watermark on images.

Usage

class ImageUploader < CarrierWave::Uploader::Base
  include CarrierWave::Watermarker

  process watermark: "#{Rails.root}/app/assets/images/watermark.png"

  version :thumbnail do
    process watermark: ["#{Rails.root}/app/assets/images/watermark.png", 'Center']
  end
end

Watermark process accepts one or two parameters. Second optional parameter it's a place where you want to place watermark. You can choose one of these places: None, Center, East, Forget, NorthEast, North, NorthWest, SouthEast, South, SouthWest, West, Static

Installation

Add this line to your application's Gemfile:

gem 'carrierwave_watermarker'

And then execute:

$ bundle

Requirements

CarrierWave Watermarker uses MiniMagick

On OS X:

$ brew install imagemagick