Convert pdf to jpg, the process is blocking

please help to solve this issue.
this pdf is
1.pdf (364.8 KB)

samle code:
List result = new ArrayList<>();
String outPath = “/Users/jimmy/test/picture”;
// Create Resolution object
try (com.aspose.pdf.Document document = new com.aspose.pdf.Document(filePath)) {
JpegDevice jpegDevice = new JpegDevice(50);
int pageCount = document.getPages().size();
if (pageCount > 0) {
for (int i = 1; i <= pageCount; i++) {
String fileName = outPath + i + “.jpg”;
try (java.io.OutputStream outputBinImageFile = new java.io.FileOutputStream(fileName)) {
jpegDevice.process(document.getPages().get_Item(i), outputBinImageFile);
result.add(fileName);
}
}
}
}

This topic has been moved to the related forum: Convert pdf to jpg, the process is blocking - Free Support Forum - aspose.com