Img.getWidth(null); gives -1 why?

Printable View