Announcement

Collapse
No announcement yet.

composing images by cmd ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    composing images by cmd ?

    hi

    I am not a super skilled user of irfranview so i am asking if it is possible to
    compose images by cmd and irfranview

    I have 4 images A B C D - all are 100x100 pixel
    by comand I need to compose all 4 into one image of 200x200 pixel
    I just like to put the images together like that
    ___
    |AB|
    |CD|
    ---


    can it be done by cmd ?
    I currently use ImageMagick to do it but it not full support EXR file so I need an alternative

    #2
    If you mean command line, yes, use this batch file:

    Code:
    cd "C:\Program Files\Irfanview"
    i_view32.exe /panorama=(1,C:\A.png,C:\B.png) /convert=C:\Row1.png
    i_view32.exe /panorama=(1,C:\C.png,C:\D.png) /convert=C:\Row2.png
    i_view32.exe /panorama=(2,C:\Row1.png,C:\Row2.png) /convert=C:\Final.png
    All command line options are in Help. You can also skip the last conversion and view the resultant image in IrfanView, where you can save it. Or you can add a line to view the saved image in IrfanView. The script just makes two horizontal images, and takes the two intermediate images to vertically make the final one.

    You can also do this in the GUI several ways. The GUI has a panorama utility or you can also "build" your image on a canvas. Easiest way for your particular task is obviously the batch file above, but you could create a contact sheet in Thumbnails (hotkey T):
    1. Locate your images in a folder (if necessary remove any unnecessary images using CTRL+DEL).
    2. Sort the thumbs by moving them around in ABCD order if need be
    3. Choose File>Create contact sheet from selected files
    4. You'll need a width and height of 200px each, 2x2 columns/rows, no spacing, no margins, no text.
    5. Choose your creation method
    6. Create!

    Comment

    Working...
    X