HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › Troubleshooting › sun.awt.image.ImageFormatException: Unsupported color conver › Re: Re: sun.awt.image.ImageFormatException: Unsupported color conver
June 24, 2015 at 14:10
#28366
It could be that your jpeg is using the CMYK color model rather than RGB.
You can convert it on a fly (with JAI, for example) using custom resource loaders API.
See pd4ml-html-css-pdf-tips-tricks-f7/a-definition-of-custom-resource-loaders-t40.html