Hi,
We are using Aspose Total Java license.
If the PUB file contains Drop Shadow Rectangle component then converted PDF will turn in dark background color.
java library: aspose-pub-22.8.jar
Java Code:
try {
IPubParser parser = PubFactory.createParser(inputFilePath);
// Save as PDF file format
Document doc = parser.parse();
PubFactory.createPdfConverter().convertToPdf(doc, outputFilePath);
} catch (Exception e) {
e.printStackTrace();
}
There is a input and output file as attachment.
files.zip (43.8 KB)