Creates a bitmap from a file (or device).