fix null pointer when call read inputstream

 Add a new method which can read the input stream with mimeType for Image, As the default Read method for input stream will throw a null pointer exception when called.