Batch convert images from CMD

  • 1
  • Question
  • Updated 2 years ago
I am looking a way to call the batch convert images from a command line, but have had no luck in doing so. Is this possible? Any tips of the direction to go?
Photo of Tylor Mayfield

Tylor Mayfield

  • 1 Post
  • 0 Reply Likes

Posted 2 years ago

  • 1
Photo of David Howell

David Howell, Employee

  • 100 Posts
  • 33 Reply Likes
This does not appear to be documented (anymore?), but you can use the "/ob {files}" command line arguments. I will concede that this may not be entirely what you had in mind since it does bring up the batch conversion wizard and doesn't just convert-with-current-settings.

Anyway, here is the syntax:
SnagitEditor.exe /ob “list of filenames(full path) separated by a ‘*’

Example:
C:\>cd "Program Files (x86)\TechSmith\Snagit 13"
C:\Program Files (x86)\TechSmith\Snagit 13>SnagitEditor.exe /ob "c:\images\bridge.bmp*c:\images\art.png"

It looks like you can also put that list of files (separated by asterisk) in a .BCT file (in case you have a LOT and hit the Windows command line character limit).

Example:
C:\Program Files (x86)\TechSmith\Snagit 13>SnagitEditor.exe /ob "c:\images\allfiles.bct"

where, allfiles.bct would contain: c:\images\bridge.bmp*c:\images\art.png