Menu

Netpbm (win32) trouble

Help
2002-09-24
2012-07-26
  • Nobody/Anonymous

    When entering netpbm commands by hand everything works great.
    But when I put the same commands in a batch file, all options are "unrecognized".

    C:\> .\BIN\PNMSCALE -XYSIZE 640 480 ORIGINAL.PPM  1>REDUCED.PPM
    unrecognized option `-XYSIZE'

    I suppose there is something obvious that I forgot, but I have no idea what it might be. :-S

     
    • Nobody/Anonymous

      Solution: the options are case-sensitive and should be in lowercase! (they were lowercase when I entered them by hand, but in my batchfile they were uppercase).

      Sorry guys:)