Code: Select all
magick in.jpg -auto-level out.jpg
You may check out my in.jpg and out.jpg here, along with images produced with autolevel functions of XnView and Gimp (these got stretched as expected):
https://www.dropbox.com/sh/5wbrgdmon3v5 ... QujYa?dl=0
Is it a bug or am I doing something wrong?
My system:
Win7 x64 SP1
IM:
Version: ImageMagick 7.0.8-14 Q16 x64 2018-10-24 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2018 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Visual C++: 180040629
Features: Cipher DPC HDRI
Delegates (built-in): bzlib cairo flif freetype gslib heic jng jp2 jpeg lcms lqr
lzma openexr pangocairo png ps raw rsvg tiff webp xml zlib