Guest User

Append image

a guest
Oct 23rd, 2025
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. @echo off
  2. setlocal EnableDelayedExpansion
  3.  
  4. set "img1=%~1"
  5. set "img2=%~2"
  6. set "outfile=%~dp1%~n2.jpg"
  7.  
  8. ffmpeg -i "%img1%" -i "%img2%" -filter_complex "[1][0]scale=-1:h=ref_h[img2s]; [0][img2s]hstack=inputs=2[out]" -map [out] "%outfile%"
  9.  
  10. pause
  11.  
Advertisement
Add Comment
Please, Sign In to add comment