javax.imageio.IIOException

Incompatible color conversion

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web13

Stack trace

  • javax.imageio.IIOException: Incompatible color conversion at com.sun.imageio.plugins.jpeg.JPEGImageReader.checkColorConversion(JPEGImageReader.java:927) at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:1028) at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:984) at javax.imageio.ImageReader.read(ImageReader.java:940) at net.coobird.thumbnailator.tasks.io.FileImageSource.read(FileImageSource.java:144) at net.coobird.thumbnailator.tasks.SourceSinkThumbnailTask.read(SourceSinkThumbnailTask.java:76) at net.coobird.thumbnailator.Thumbnailator.createThumbnail(Thumbnailator.java:62) at net.coobird.thumbnailator.Thumbnails$Builder.toFile(Thumbnails.java:2409) at Issue40.main(Issue40.java:15)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,