Using GraphicsMagick I have tried something like this
gm montage -geometry 256x256 6-0-0.jpg 6-1-0.jpg 6-2-0.jpg 6-3-0.jpg 6-4-0.jpg 6-5-0.jpg 6-6-0.jpg 6-7-0.jpg final.jpg
Its creating final.jpg of size 1536x512
instead of 2048x256
.
How can I fix the issue to create a horizontal image of height 256px?