If stream is from disk cache, then use inJustDecodeBounds.