compositing series of images in rows and columns?

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: helmut, XnTriq, xnview

Post Reply
BabaG
Posts: 150
Joined: Sat Mar 03, 2007 6:41 am

compositing series of images in rows and columns?

Post by BabaG »

hopefully this isn't as embarrassingly dumb as my last posting.

i want to composite several images together using nconvert.
what i want to do is to take several images, which are all the
same size, and place them in rows and columns to create a
new image. in other words, something like this:

pic1 in the upper left
pic2 in the upper middle
pic3 in the upper right

pic4 in the lower left
pic5 in the lower middle
pic6 in the lower right

can i do this with nconvert?
if so, can someone give me some pointers on how to get
this done, or direct me to a how-to or tutorial on the subject?

<edit>
in looking further, i'm seeing something about contact sheets
but this seems xnview only. would that be what i'm looking for?
how can i do this with nconvert?

also, image sequence sounds interesting. not seeing documentation
on how to use these with nconvert, though.

thanks,
BabaG
User avatar
DOS386
Posts: 291
Joined: Sun Jun 11, 2006 2:43 pm

Re: compositing series of images in rows and columns?

Post by DOS386 »

BabaG wrote:want to composite several images together using nconvert.
can i do this with nconvert? also, image sequence sounds interesting. not seeing documentation on how to use these with nconvert, though.
No answers ... I don't know or see any way how to do with NC :-( The task is trivial, however might conflict with NC's commandline parsing ... I haven't tried/pushed too hard so far, since I could code something for me when I need it badly one day. And NC indeed is underdocumented :-(
There is indeed no WinZIP under my rock.
rauwitt
Posts: 5
Joined: Sun Mar 16, 2008 4:59 pm

Post by rauwitt »

You can use the watermark options "wmflag" and "wmfile" and overwrite a large picture with 9 resized images. Their sizes must be one third of the large picture:

(Linux) ./nconvert -wmfile /home/images/resized_image.jpg -wmflag top-right /home/images/large_picture.jpg
BabaG
Posts: 150
Joined: Sat Mar 03, 2007 6:41 am

Post by BabaG »

thanks for the watermark tip. it only works with 3 columns
of 3 rows though? no variability in that?

thanks again,
BabaG
rauwitt
Posts: 5
Joined: Sun Mar 16, 2008 4:59 pm

Post by rauwitt »

Yes, only 3 columns (9 images) because there are 9 watermark position flags:

top-left, top-center, top-right
center-left, center, center-right
bottom-left, bottom-center, bottom-right
Post Reply