How to use -displace with convert?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
agriz
Posts: 237
Joined: 2011-10-01T02:21:30-07:00
Authentication code: 8675308

How to use -displace with convert?

Post by agriz »

convert: unrecognized option `-displace'

Displace is working only with composite. How can i use it with convert?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: How to use -displace with convert?

Post by snibgo »

In "convert" or "magick", use "-compose displace", eg:

Code: Select all

-compose displace -set option:compose:args 20x10 -composite
snibgo's IM pages: im.snibgo.com
agriz
Posts: 237
Joined: 2011-10-01T02:21:30-07:00
Authentication code: 8675308

Re: How to use -displace with convert?

Post by agriz »

thumbs up :)
Post Reply