loadRaw should directly return if image source is raw data