fixed serious bug in PicW and PicH

in command line, -sh -sw should change to -sw -sh so that it can be matched with the value in case data