I don't think moving the files will accomplish what I want. What I am trying to do is read in two normally-sized pictures. Resize each one to 200x200, then rotate the first -30 degrees and the second by +30. When I montage the two together, they come together in a sort of V-shape. I need the background transparent so I can compose the result onto another image.
I changed my command to various orders such as:
Code: Select all
montage -background MistyRose <image1> -rotate -30 <image2> -resize 200x200 -rotate 30 -transparent MistyRose -geometry +0+0 <output>
This results in one image being rotated -30 then +30, so it ends back up where it was, only the first image is now smaller, because it was rotated (which gave it a greater width-height), then shrunk, then rotated back. Setting the first rotate to -60 doesn't help, because the image is still reduced in size more than the second image.
Code: Select all
montage -background MistyRose <image1> <image2> -resize 200x200 -rotate 30 -transparent MistyRose -geometry +0+0 <output>
The command above came closest to what I want, but then both images are rotated at +30, and the image is STILL not transparent, which was my only problem to begin with. The old command worked fine under V6 with respect to resizing and rotating (though maybe it did extra processing or used extra resources, of which I have plenty), but the result was not transparent.
So, is there an issue with including -transparent (even if I make it the very last command to montage)?
And now I have a new question, how do I separate -rotate calls in the same command without creating intermediate images (using parens) as I had been doing before?