We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4fa637a + ed69989 commit b192766Copy full SHA for b192766
1 file changed
app/src/main/java/at/tomtasche/reader/background/PdfLoader.java
@@ -47,7 +47,9 @@ public void loadSync(Options options) {
47
File cacheDirectory = AndroidFileCache.getCacheDirectory(cacheFile);
48
49
pdf2htmlEX pdfConverter = new pdf2htmlEX(context).setInputPDF(cacheFile);
50
- pdfConverter.setOutline(false).setBackgroundFormat("jpg").setDRM(false);
+ pdfConverter.setProcessOutline(false);
51
+ pdfConverter.setBackgroundImageFormat(pdf2htmlEX.BackgroundImageFormat.JPG);
52
+ pdfConverter.setDRM(false);
53
pdfConverter.setProcessAnnotation(true);
54
if (options.password != null) {
55
pdfConverter.setOwnerPassword(options.password).setUserPassword(options.password);
0 commit comments