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!
Obtaining individual image information in montage.
-
- Posts: 2
- Joined: 2012-11-05T14:17:54-07:00
- Authentication code: 67789
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Obtaining individual image information in montage.
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
Otherwise, you can imbed the textual information below each image within the montage as per http://www.imagemagick.org/Usage/montage/vid_index.gif