Effect like xero illustrator plugin

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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Effect like xero illustrator plugin

Post by fmw42 »

Looks to me from the link you showed that the coloration is like saturation and the abstraction is possibly like contrast (would need more examples or info to know with more confidence). In IM commands you can try to simulate those using the -modulation to control saturation (as well as brightness and color shift) and -gamma to control contrast. You can also use IM +contrast or -contrast to control contrast, but that command is more awkward as it has to be repeated to make more change.

convert <infile> -modulation 100,S,100 -gamma C <outfile>

where S=100 is no change; S>100 is more saturation (more color); S<100 is less saturation (more gray)
where C=1 is no change; C>1 is more contrast; C<1 is less contrast

See
http://www.imagemagick.org/script/comma ... p#modulate
http://www.imagemagick.org/script/comma ... .php#gamma
Post Reply