simulate different lightning conditions?

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
haemi
Posts: 1
Joined: 2018-03-23T23:09:12-07:00
Authentication code: 1152

simulate different lightning conditions?

Post by haemi »

Hi,

is it possible to simulate different lightning conditions? It doesn't have to be perfect, but I would like to achieve something like this:

Image

The bottles are the same, but the color is a little bit different. What's the best way to simulate this with imagemagick? I would love to have a random parameter with - easily spoken - "lightning + 17%" or "lightning - 14%".

Thanks!
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: simulate different lightning conditions?

Post by fmw42 »

Do you mean lighting or lightning? They are different. If you want to adjust the brightness and/or contrast, then see -brightness-contrast at https://www.imagemagick.org/script/comm ... s-contrast
Post Reply