ImageIO.read () unsupported image type when reading picture_ exception Unsupported Image Type

ImageIO.read Error in reading a picture:

javax.imageio.IIOException : Unsupported Image Type_ exception Unsupported Image Type

Adding dependencies to Maven projects can solve this problem

<dependency>
	<groupId>com.twelvemonkeys.imageio</groupId>
	<artifactId>imageio-jpeg</artifactId>
	<version>3.3.2</version>
</dependency>

Read More: