Java ImageIO IIOException: Unsupported image type?

后端 未结 4 430
我寻月下人不归
我寻月下人不归 2020-12-13 13:20

Working with images in Java for the first time and am getting some bizarro exceptions that aren\'t documented very well. Here\'s the line of code that is failing:



        
4条回答
  •  醉梦人生
    2020-12-13 14:00

    Another option is to use .jar prepared by Werner Randelshofer:

    http://www.randelshofer.ch/blog/2011/08/reading-cmyk-jpeg-images-with-java-imageio/ or Monte Media Library: http://www.randelshofer.ch/monte/

    It looks quite easy and similar to ImageIO usage and available under CC license.

提交回复
热议问题