Page 1 of 1

Obtaining individual image information in montage.

Posted: 2012-11-05T14:23:17-07:00
by Himekaidou
I wish to construct what's basically a texture atlas, and as for generating the actual atlas, montage has worked perfectly fine (montage -background transparent -geometry +0+0 *.png output.png). However, I was wondering if there was some way to get text output on where each individual image went. Maybe something along the lines of text output saying like, "firstpic.png 0 0 120 180" (name, left, top, width, height), or anything along those lines, for parsing with a different program.

Does imagemagick have functionality that can dump this kind of information when the montage is being created? Any help would be appreciated. Thank you!

Re: Obtaining individual image information in montage.

Posted: 2012-11-05T15:17:44-07:00
by fmw42
Are you putting all images in one row? If so there may be a way.

Otherwise, you can imbed the textual information below each image within the montage as per http://www.imagemagick.org/Usage/montage/vid_index.gif