November 2008
Intermediate to advanced
208 pages
4h 32m
English
If you want to receive credit for your pictures while sharing them on the Internet, watermarks are a nice tool (see Figure 4-1). Watermarks help ensure you remain the owner of your digital property. If there is a standard watermark you use, this script can incorporate it—big or small.

Figure 4-1. Cover image with watermark
require 'RMagick' include Magick unless ARGV[0] and File.exists?(ARGV[0]) puts "\n\n\nYou need to specify a filename: watermark.rb <filename>\n\n\n" ...
Read now
Unlock full access