Level operator

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
adil@alfasoft.ro
Posts: 24
Joined: 2012-01-10T05:19:23-07:00
Authentication code: 8675308

Level operator

Post by adil@alfasoft.ro »

Will "-level" applied to a grayscale file make it srgb ?

I have noticed that while aplying "-level" on grayscale files, the result file will be converted to srgb 24bit. Is this normal ?

I am using Q8 6.8.3-10 windows version.

Many thanks.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Level operator

Post by magick »

We're using ImageMagick 6.8.5-0 and it returns linear gray:
  • convert logo: -grayscale rec601luminance -level 10,90% logo.png
    identify -verbose logo.png | grep Gamma
    Gamma: 1
adil@alfasoft.ro
Posts: 24
Joined: 2012-01-10T05:19:23-07:00
Authentication code: 8675308

Re: Level operator

Post by adil@alfasoft.ro »

Thank you.So I must install a new version?
adil@alfasoft.ro
Posts: 24
Joined: 2012-01-10T05:19:23-07:00
Authentication code: 8675308

Re: Level operator

Post by adil@alfasoft.ro »

I installed the newest version and now is OK. Thank you.
Post Reply