Bonjour,
I enclose a small program in the archive ‘paulmatth_montage_raw.zip’
You unzip this archive and place the file ‘paulmatth_montage_raw.gmic’ in the directory of your executable.
You will need to create a batch script to call this little program each time you have the number and names of the images for each row.
Then you can assemble these rows.
Unfortunately you are on Linux and I cannot do this script quickly.
Here are some command lines to use this script and the results :
gmic repeat 10 sample done m paulmatth_montage_raw.gmic paulmatth_montage_raw 10,10,0,20,20,255,1,1800,0 o raw1.jpg
gmic repeat 10 sample done m paulmatth_montage_raw.gmic paulmatth_montage_raw 10,10,0,20,20,255,1,1800,90 o raw2.jpg
gmic repeat 5 sample done m paulmatth_montage_raw.gmic paulmatth_montage_raw 10,10,0,20,20,255,1,600,0 o raw3.jpg
This little program has 9 parameters :
# $1 = X contour
# $2 = Y contour
# $3 = color contour 0...255
# $4 = X padding
# $5 = Y padding
# $6 = color padding 0...255
# $7 = resize Y (1) or N (0)
# $8 = width pixels
# $9 = orientation
paulmatth_montage_raw.zip (536 Bytes)