I was trying to insert an EPS file in Word in the same way how I do for a PNG or an EMF:
BinaryPartAbstractImage imagePart = BinaryPartAbstractImage.createImagePart(wordprocessingMLPackage, bytes);
where bytes is the image as an array of bytes.
Somehow if the file is an EPS I receive the exception:
BinaryPartAbstractImage The file format is not supported. No ImagePreloader found
In Word you don't have any problem to insert an eps so I don't see where should be the problem with docx4j.
Thank you in advance