Manipulating Dxf images

Export eps to dxf image

Saving of eps image to dxf provided:

//Example of export from eps to Dxf.
String inputFileName = "Pooh group.eps";
String outputFilePath = "result.dxf";
try (Image image = Image.load(inputFilePath))
{
DxfOptions options = new DxfOptions();
options.setTextAsLines(true);
options.setConvertTextBeziers(true);
options.setBezierPointCount((byte) 20);
image.save(outputFilePath, options);
}