Free Support Forum - aspose.com

Empty EMF to PDF - reoccurring error

When an empty EMF file is converted to PDF, a reoccurring error is outputted.

Code:
Image document = Image.load(inputPath);
PdfOptions options = new PdfOptions();
document.save(outputPath, options);

Errors outputted:
image.png (5.3 KB)

Original “empty” EMF:
sample.zip (118 Bytes)

A “normal/not empty” EMF converts successfully to PDF using the code shown above.

@simon.wiseman

I have created a ticket with ID IMAGINGJAVA-2032 in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.