We used the below code snippet according to your original work flow as described in your first post:
com.aspose.words.Document doc = new com.aspose.words.Document(dataDir + "Sample_21.1.docx");
PipedInputStream is = new PipedInputStream();
PipedOutputStream os = new PipedOutputStream(is);
com.aspose.pdf.Document pdf1 = new com.aspose.pdf.Document(is);
// You can initialize another existing PDF below using input stream as well
com.aspose.pdf.Document pdf2 = new com.aspose.pdf.Document();
com.aspose.pdf.Document pdfDocument = new com.aspose.pdf.Document(is);
com.aspose.pdf.devices.Resolution resolution = new com.aspose.pdf.devices.Resolution(300);
com.aspose.pdf.devices.TiffSettings tiffSettings = new com.aspose.pdf.devices.TiffSettings();
com.aspose.pdf.devices.TiffDevice tiffDevice = new com.aspose.pdf.devices.TiffDevice(2480, 3508,resolution,tiffSettings);
We noticed that the code kept running for more than 10 minutes and did not generate any output. We need to further investigate the scenario and for the purpose, an investigation ticket as PDFJAVA-40205 has been logged in our issue tracking system. We will further look into its details and keep you posted with the status of its resolution. Please be patient and spare us some time.
We are sorry for the inconvenience.