next up previous contents index
Next: cmextract Up: Reference Previous: clocal_zoom   Contents   Index

cmcollect

$ \bigcirc$Name


cmcollect Collect images of a Cmovie into a single Cimage




$ \bigcirc$Command Synopsis


cmcollect [-n n] [-i i] [-o o] [-c c] [-x x] [-y y] in out



-n n : number of images per line (default auto 4/3)

-i i : inside margin in pixels (default 1)

-o o : outside margin in pixels (default 1)

-c c : margin grey level (default 0)

-x x : image width (default from first image)

-y y : image height (default from first image)

in : input Cmovie

out : output Cimage




$ \bigcirc$Function Summary


Cimage cmcollect (in , out , n , i , o , c , x , y )

Cmovie in ;

Cimage out ;

int *n , *i , *o , *c , *x , *y ;




$ \bigcirc$Description


This modules allows to put several images in1, in2,...inn (belonging to a Cmovie in) onto a single frame image out. To that aim, out is divided in cells of equal size x×y (either specified from -x and -y options or equal to in1 dimensions). The number of cells on each line can be specified with the -n option, otherwise the aspect ratio closest to 4/3 (and not smaller) will be chosen for out. Between two cells is left a margin of i pixels, and out is surrounded by a margin of o pixels. These margins are black by default, but the color (grey level) may be changed with the -c option. The images in1, in2,...inn (which may have different sizes) are centered on the successive cells, and cropped if necessary.




$ \bigcirc$Version 1.0


Last Modification date : Sun Apr 6 18:44:42 2003


$ \bigcirc$Author


Lionel Moisan






next up previous contents index
Next: cmextract Up: Reference Previous: clocal_zoom   Contents   Index
mw 2004-05-05