The code is as follows; this is an asynchronous method annotated with the @Async annotation.
// interface
@Async("ioTaskExecutor")
CompletableFuture<List<BufferedImage>> getPdfImages(String pdfPath);
//impl
…...extracting images from PDF in multithreading: Not supported image type...PDF Product Family aspose-pdf-java pizhai2 August 2, 2025, 3:14pm...