Announcement

Collapse
No announcement yet.

how to batch panorama 2 similar named images

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

    how to batch panorama 2 similar named images

    Hi,
    thought i make it easy on myself by changing the filenames of pan images similar, but i do not know what the command line argument for panorama is and couldn't find it in the documentation.

    i now have 2 folders l and r containing files IMG_0001.jpg, IMG_0002.jpg etc and i would like to stitch same named files together.
    where the images in the 'l' folder should be the left one and the images in the 'r' folder should end up at the right.

    i tried copy/paste with the advanced editor, but that just created a new image where the second one was on top of the first, if i want with transperancy. but that was not what i wanted.

    i also tried pano.vbs, but couldn't get that working,

    then i thought, should i create a empty file first with double width and then copy/paste both images in the new image file?

    any suggestion is appreciated.
    thanks
    Msync


    Code:
    REM panorama script: 2 images side-by-side
    
    @echo off
    cls
    setlocal
    
    REM --- Configuration --->
    
    REM folder where your pictures are located
    set folder=C:\pan\
    set subfolder1=l\
    set subfolder2=r\
    
    REM Target outputfolder
    set outputfolder=pan-combined\
    
    REM images
    set image=IMG_
    set firstimagenr=1
    set imageformat=.jpg
    
    REM IrfanView application dir
    set iv=C:\IrfanView\i_view64.exe
    
    REM <--- Configuration ---
    
    REM create outputfolder
    mkdir "%folder%%outputfolder%"
    Last edited by Msync; 03.07.2022, 12:36 PM.

    #2
    /panorama=(X,files) - create panorama image from input files; X = direction (1 or 2)
    from help/Command Line Options
    Example for /panorama:

    Syntax: /panorama=(X,file1,...,fileN)
    First parameter (X) is the direction: 1 = horizontal, 2 = vertical, wildcards for file1-N are allowed.
    i_view32.exe /panorama=(1,c:\test1.bmp,c:\dummy.jpg)
    Create horizontal panorama image from 2 other files.
    i_view32.exe /panorama=(1,c:\test.tif,c:\*.bmp)
    i_view32.exe /panorama=(2,c:\test.tif,c:\*.bmp,c:\dummy.jpg,c:\1 23*.gif)
    i_view32.exe /panorama=(2,c:\test.tif,"c:\crazy, comma filename.jpg")
    i_view32.exe /panorama=(2,filelist=c:\mypics.txt)

    Comment


      #3
      ? that solved it all right.

      Comment

      Working...
      X