my original HTML document has an image and I get the next Exception when I do pd4ml.render(…) :

sun.awt.image.ImageFormatException: Unsupported color conversion request

I tried by changing the image by another with similar width and height but less file size (the original image that fails is 138 KB and the new one is 14KB). When I change it, it works fine.

How can I make it to work with the original size image? It has to be this image because it is from an external server and I cannot change the quality or size.