Kodi Community Forum
Solved sun.awt.image.ImageFormatException: Unsupported color conversion request - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+---- Forum: TinyMediaManager (https://forum.kodi.tv/forumdisplay.php?fid=204)
+---- Thread: Solved sun.awt.image.ImageFormatException: Unsupported color conversion request (/showthread.php?tid=352778)



sun.awt.image.ImageFormatException: Unsupported color conversion request - __B__ - 2020-03-22

https://paste.kodi.tv/celepigebu.kodi

The images mentioned in the logs above:

https://imgur.com/a/iXMAUzG

https://imgur.com/a/xC7xIO8


RE: sun.awt.image.ImageFormatException: Unsupported color conversion request - myron - 2020-03-26

thx, will have a look....


RE: sun.awt.image.ImageFormatException: Unsupported color conversion request - mlaggner - 2020-03-29

your file was in CMYK format which is not supported by plain Java. I've added a third party library which added support for CMYK JPEGs.
Should work in the next version


RE: sun.awt.image.ImageFormatException: Unsupported color conversion request - nipunar - 2020-04-13

(2020-03-29, 21:07)mlaggner Wrote: your file was in CMYK format which is not supported by plain Java. I've added a third party library which added support for CMYK JPEGs.
Should work in the next version

Can you please tell me which thirdparty library can be used for that?


RE: [SOLVED] sun.awt.image.ImageFormatException: Unsupported color conversion request - mlaggner - 2020-04-13

https://github.com/haraldk/TwelveMonkeys
Code:

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



RE: sun.awt.image.ImageFormatException: Unsupported color conversion request - __B__ - 2020-04-22

I just tested 3.1.5. Actually is not solved...

https://paste.kodi.tv/orazotomil.kodi

The same error now happens but with no information about which file gave the exception. Is there a "Debug" mode or something in tmm that could give me more information?

It keeps "stuck" on the terminal in this error as well. The script doesn't finish. I need to press ctrl+c to finish.

@myron @mlaggner


RE: sun.awt.image.ImageFormatException: Unsupported color conversion request - myron - 2020-04-22

Do you have by any chance a trace.log file?

you might want to change the console loglevel in start script first:
tinyMediaManagerCMD.sh
-Dtmm.consoleloglevel=INFO to -Dtmm.consoleloglevel=TRACE


RE: sun.awt.image.ImageFormatException: Unsupported color conversion request - __B__ - 2020-05-11

Somehow it worked. Don't now if it's a internet problem...