Redundant IOExceptions removed
Redundant IOExceptions removed
When available, use Canvas methods to determine max bitmap size