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

Free Support Forum - aspose.com

Output differ from device to device

Hello,

I am using aspose.pdf to convert pdf file to Epub with the following statements in my Java file, and even attaching input and output files, while my problem is that output is not working on a mobile device with the same Epub reader.

package convetorEpub;
public class ConvertToEpub {
public static void main(String[] args) {
com.aspose.pdf.Document pdfDocument = new com.aspose.pdf.Document("/home/jimit/Desktop/input.pdf");
com.aspose.pdf.EpubSaveOptions options = new com.aspose.pdf.EpubSaveOptions();
options.ContentRecognitionMode = com.aspose.pdf.EpubSaveOptions.RecognitionMode.Fixed;
pdfDocument.save("/home/jimit/Desktop/output.epub", options);
}
}

Hi Jimit,


Thanks
for using our API’s.
<o:p></o:p>

I
have tested the scenario and I am able to notice the same problem. For the sake
of correction, I have logged this problem as PDFNEWJAVA-34799 in
our issue tracking system. We will further look into the details of this
problem and will keep you updated on the status of correction. Please be
patient and spare us little time. We are sorry for this inconvenience.

The issues you have found earlier (filed as PDFJAVA-34799) have been fixed in Aspose.PDF for Java 20.1.