Re: Can't seem to get -level to work

Bob Friesenhahn <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.help
Message-ID <[email protected]>
On Sat, 16 Apr 2016, Toby Thain wrote:

> Hi,
>
> I don't seem to understand the parameters of -level, or there is a bug?
>
> I want to adjust the black and white points by about 10%.
>
> Please see this image for the input and output of the parameters I'm
> trying (I've also tried percentages, floating point, exchanging the
> values, all to no avail):

The documentation says that the syntax is

   -level <black_point>{,<gamma>}{,<white_point>}{%}

so

   gm mogrify -level '10,1.0,90%' gradient-mod.tif

should do what you want.

This usage seems to be based on a Photoshop dialog.

Bob
-- 
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.