getting supported Preview width and height