We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Doesn't it support word2003?

public static void main(String[] args) throws Exception {
        String inputFileName = Paths.get("979943-BLU-625.docx").toString();
        Document document = new Document(inputFileName);
        final ImageSaveOptions options = new ImageSaveOptions(SaveFormat.JPEG);
        options.setImageBrightness(0.7f);
        options.setImageContrast(0.7f);
        final List<FileTargetDTO> list = new ArrayList<>(document.getPageCount());
        log.info("document size:"+document.getPageCount());
        for (int i = 0; i < document.getPageCount(); i++) {
            options.setPageSet(new PageSet(i));
            final String filename = "aaa";

            document.save(filename,options);
        }
    }

image.jpg (43.7 KB)

https://tezign-assets.oss-cn-beijing.aliyuncs.com/843e10f8a47552cb36c6e0d51804ffb6.doc

@zyx Aspose.Words do support MS Word 2003 and DOC format. But the attached file is not actually DOC file, it is PPT (Power Point Presentation) file with DOC extension. To process PPT files you should used Aspose.Slides.

oh my god, lie kai