It'd be really useful for j2me development if montage had two things:
1. pack mode
Pack images in as tightly as possible
1b pack mode with overlap (if it is safe, overlap the images i.e. if two images have a line of white pixels at the start and end).
2. output the filename, x, y, width, height for each file placed in the new image.
With this it would be a very useful tool

Cheers.