Code: Select all
convert -size 400x400 canvas:white ( +clone -evaluate set 32768 ) ( +clone -evaluate set 16384 ) -delete 0 -append stacked.png
convert stacked.png -crop100%x50% -depth 16 ( -clone 0 -evaluate multiply 2 ) ( -clone 1 -evaluate multiply 256 ) -delete 0-1 -compose Add -composite -define png:bit-depth=16 test1.png
The image consists of a white left half, followed by a right black half, with a few random white/black vertical lines in each. Such a pattern should be impossible when it's supposed to be a solid colour.
Code: Select all
convert -version
Version: ImageMagick 6.9.2-4 Q16 x64 2015-10-10 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Visual C++: 180031101
Features: Cipher DPC Modules OpenMP
Delegates (built-in): bzlib cairo freetype jng jp2 jpeg lcms lqr openexr pangoca
iro png ps rsvg tiff webp xml zlib