Java Aspose.total convert cgm to pdf issues

Hi,

We are using Java Aspose.total version CAD 24.3 and PDF 24.6 versions

Cannot convert these two CGM sample files.

Using PDF package to convert to pdf.
For cgm_airplane.cgm to pdf, just got a blank pdf
For entities.cgm to pdf, take forever, have to kill the process
Example code below:
CgmLoadOptions cgmLoadOpts = new CgmLoadOptions();
Document cgmDocument = new Document( inputFile, cgmLoadOpts );
cgmDocument.save( outputFile );

Using CAD package to convert pdf.
For cgm_airplane.cgm to pdf, converted but the output pdf is incorrect, not complete.
For entities.cgm to pdf, loading error below:
Drawing loading failed: Error on LineNumber : -1, ClassName : com.aspose.cad.fileformats.cgm.imp.DefaultBinaryReader, MethodName : c, SourceLocation : null in com.aspose.cad.fileformats.cgm.commands.MetafileDefaultsReplacement command for file ‘null’! for input file [C:\PATCH\entities.cgm]

Example code below:
CgmImage cgmImage = (CgmImage) Image.load(inputFile);
PdfOptions pdfOptions = new PdfOptions();
cgmImage.save(outputFile, pdfOptions);

I have attached zip file that has sample cgm files, and their screen shots images suppose to look like.
cgm_airplane
entities.cgm
screenshot_cgm_airplane.png
screenshot_entities.png

Thank You
SampleCGMfilesAndScreenShots.zip (92.2 KB)

@nlee08,
Hi,
I’m redirecting this request so Aspose.PDF team could help you.

@nlee08,
I can confirm the issue for Aspose.CAD unfortunately, we have created CADJAVA-11966 to investigate this better and fix.