I'm using ImageMagick to combine matrix of 3x5 png files to one bigger using the following command:
Code: Select all
montage @a-001.txt -mode Concatenate -tile x5 -units PixelsPerInch -density 100 -depth 2 test.png
This command combines 15 input files with the following properties:
Code: Select all
test_11.png PNG 250x220 250x220+0+0 8-bit PseudoClass 4c 5.25KB 0.000u 0:00.000
Up to ImageMagick version 6.6.5-10 everything worked as expected and the output file had properties:
Code: Select all
test.png PNG 750x1100 750x1100+0+0 8-bit PseudoClass 4c 84.3KB 0.000u 0:00.000
Starting ImageMagick version 6.6.6.0 the properties remained the same, but the content (the picture) was garbled - stretched horizontally to 1/3 and filled with random vertical bars.
Code: Select all
test.png PNG 750x1100 750x1100+0+0 8-bit PseudoClass 4c 27.8KB 0.000u 0:00.000
This bug was corrected in ImageMagick version 6.6.7-10, but introduced a new one - the output is not 2 bit (4 colors) as requested, but 8-bit (256 colors) now and therefore bigger:
Code: Select all
test.png PNG 750x1100 750x1100+0+0 8-bit PseudoClass 256c 102KB 0.000u 0:00.000
This bug is here up to the latest version (6.6.8-4).
Is this really a bug or the same behavior can be achieved by a different command now? I've found nothing in the changelog.