I'm looking to change the brightness of a set of icons. When I previously used imagemagick from the cmdline, the -brightness-contrast option worked fine. But as I look at the perlmagick webpage, I don't see that option there.
So I ask, what is the best way to brighten some icons with perlmagick please ? Thanks in advance...
[Solved] Brightness...
[Solved] Brightness...
Last edited by phleagol on 2017-12-16T17:38:03-07:00, edited 1 time in total.
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Brightness...
I don't use Perl, but from the documentation http://www.imagemagick.org/script/perl-magick.php you have evaluate and level, so you can do the equivalent of:
Code: Select all
convert in.png -evaluate Multiply 1.1 out.png
convert in.png -level 0,90% out.png
snibgo's IM pages: im.snibgo.com
Re: [Solved] Brightness...
Thank you, that works fine