montage from convert with labels creating blank image

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
mmuratet

montage from convert with labels creating blank image

Post by mmuratet »

I converted a set of *.ps files to tif with
for file in *.ps;do convert -pointsize 20 -draw "text 100,100 ${file%%_ss.ps}" -resample 300x300 ${file} ${file%%.ps}.tif;done
and the images are labeled.
I tried to montage those files
montage +label Asp_*_ss.tif test.tif
and the result is a blank image.

If I do not label the files in convert, then I get a montage.

I believe I am using the tools according to the documentation. If I'm making a mistake, would someone please point it out?

Thanks

Mike
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: montage from convert with labels creating blank image

Post by fmw42 »

mmuratet wrote:I converted a set of *.ps files to tif with
for file in *.ps;do convert -pointsize 20 -draw "text 100,100 ${file%%_ss.ps}" -resample 300x300 ${file} ${file%%.ps}.tif;done
and the images are labeled.
I tried to montage those files
montage +label Asp_*_ss.tif test.tif
and the result is a blank image.

If I do not label the files in convert, then I get a montage.

I believe I am using the tools according to the documentation. If I'm making a mistake, would someone please point it out?

Thanks

Mike
I am not a Windows user so I cannot be sure of what you are doing. But

your convert output files seem to be named ${file%%.ps}.tif (ending in .ps.tif)

But your input files for montage seem to be labeled Asp_*_ss.tif (ending in ss.tif).

Does not look like the same file names to me.
Post Reply