Announcement

Collapse
No announcement yet.

Cmd Line Crop Help

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

    Cmd Line Crop Help

    I'm doing a crop from the command line which works fine but I'm running it from a bat file and my problem is the bat file waits because Irfanview window is still open. I've used the start command to launch process's before but it won't work on irfanview. Irfanview gets confused and ignores the crop switches. I need Irfanview to do the crop, save and close. If I put the /killmesoftly switch on the crop command it ignores everything and just does the kill. Here's an example, is there another way I could do this?

    start "C:\Program Files\IrfanView\i_view32.exe" c:\file.jpg /crop=(x,y,x,y)
    Last edited by Bitfarmer; 28.09.2007, 04:06 PM.

    #2
    I figured out a way to do it. I used the /convert switch which automatically closes irfanview when finished.

    Comment

    Working...
    X