Re: Apply tiled watermark to multiple images in a single process
Matt Hurne <[email protected]> Fri, 12 Oct 2012 09:27:19 -0400
| Newsgroups | gmane.comp.video.graphicsmagick.tools |
|---|---|
| Message-ID | <CAB2fYyN3B7Pa-2DVPFeAi5Ttv581Yx=j2XLEGkgcqTTEGrBc1g@mail.gmail.com> |
On Thu, Oct 11, 2012 at 3:18 PM, Bob Friesenhahn <[email protected]> wrote: > > Assuming that your GM is new enough, mogrify does support a -compose > operator and it seems to support -tile as well so maybe you can use -tile > similar to what you are using in composite. This morning I compiled and installed GM 1.3.16, and tried the following mogrify commands: gm mogrify -tile watermark.png -compose over -output-directory out -create-directories ORIG_MAX_*.jpg gm mogrify -compose over -tile watermark.png -output-directory out -create-directories ORIG_MAX_*.jpg gm mogrify -tile watermark.png -compose atop -output-directory out -create-directories ORIG_MAX_*.jpg gm mogrify -compose atop -tile watermark.png -output-directory out -create-directories ORIG_MAX_*.jpg gm mogrify -tile watermark.png -compose plus -output-directory out -create-directories ORIG_MAX_*.jpg gm mogrify -compose plus -tile watermark.png -output-directory out -create-directories ORIG_MAX_*.jpg gm mogrify -tile watermark.png -output-directory out -create-directories ORIG_MAX_*.jpg In every case, the images output to the "out" directory specified are visually identical to the originals. Thanks, Matt Hurne ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev