How to darker an image without -brightness-contrast option ?

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
ziasumo

How to darker an image without -brightness-contrast option ?

Post by ziasumo »

Its working fine with -brightness-contrast -value
but on ImageMagick version on my server does not support this -brightness-contrast.
Is there any other command to little dark an image like some shadow on it..?
Is there any solution
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: How to darker an image without -brightness-contrast opti

Post by snibgo »

"-level" gives the functionality of brightness/contrast.

Also useful is "-gamma".
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: How to darker an image without -brightness-contrast opti

Post by fmw42 »

also see -function polynomial, which can processes the equation y=ax+b where a is slope and related to contrast and b is offset and related to brightness
Post Reply