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

Toby Thain <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.help
Message-ID <[email protected]>
On 2016-04-16 6:57 PM, Bob Friesenhahn wrote:
>>
>> So there may be a documentation bug, because the manual implies that
>> gamma is optional. Based on the manual, as far as I can tell, my usages
>> were correct in what if only 2 values are given, they are the black and
>> white points. While the program seems to be interpreting the second
>> value as gamma. Am I confused, or is the documentation wrong?
>
> The arguments are black point, gamma, and white point.  They need to
> be specified in order.  Your 2 value form requested a gamma correction
> of 230.
>
> It may be that the order should have been defined differently but it
> is too late to change it now.
>
> One might think that '10,,90%' should work, but it does not.

Right, I went back to the doc, and it does confirm everything you say.

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

Problem must have been trying to work it out at midnight and getting 
confused!

Thanks.
--Toby

>
> Bob
>


------------------------------------------------------------------------------
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.