Back to menu command

Compose images

  • Single composite image

    This function aligns and composes multiple images (with labels) into a single larger image (called a composite image).

    In the dialog shown here, you can either select multiple files or specify a folder name to compose all images in that folder (including subfolders). You can only include certain types of files in that folder by giving the file extension. For example, to include all jpg files, use "jpg" (same as *.jpg)"; to include all jpg as well as bmp files, use "jpg;bmp"; to include all jpg files and exclude all bmp files, use "jpg;-bmp"; to include all but bmp files, use "-bmp". Leaving the extension box blank will include all files (same as "*.*").

    You can specify the output file name, the background color, the number of columns in each row, the horizontal and vertical space between columns and rows and the margin around the final composite image.

    You can label each image in the bottom edit box of the dialog. Labels are separated by ";". You can choose the font type, size and color of the labels by clicking the "Font" button.

    The following example shows the composite result of five images.

    Note that:

    • It does not matter if images have different sizes. They are center aligned horizontally and vertically.
    • If you specify the source file list in the top edit box of the dialog (using the "from files" radio button), you also specify the order of images in the composite image, which uses a row-major ordering, i.e., first image is in (row 1, column 1), second image is in (row 1, column 2) (if there are more than one column), etc.
    • If you specify a folder name (using the "from single folder" radio button), VIPBase will sort files (in that folder) by name in ascending order.
    • If you use the default font type (Arial) and size (36) to label images, set "v_space=60" and "bottom margin=60 + actual margin". That will leave enough space to hold the labels.
  • A sequence of composite images

    This function provides a batch processing of image composing. Suppose you have more than one folders and each folder contains a sequence of images. VIPBase can compose these sequences frame-wisely, i.e., the first images of all folders will be composed into the first composite image, the second images of all folders will be composed into the second composite image, etc.

    To use this function, specify the folder names in the edit box next to the "from multiple folders" radio button. If you edit directly in that box, press "CTRL+Enter" to enter a new line.


VIPBase © 2006 Fengjun Lv
Last update: 08/01/2006 (check html)