Add single page PDF support
Needs ReviewPublic

Authored by bclephas on May 16 2020, 7:22 PM.

Details

Reviewers
sars
trufanov
Summary

This is just a quick and rudimentary support for saving to PDF.
Write a single QImage to a single PDF document, using QPdfWriter.

Very minor UI changes (only allowing to select PDF as target, next to available image formats).

Test Plan

Use both the test device and an actual scanner to scan and save a PDF document.
Document opens via Okular.
pdfinfo is able to read the document and give back correct info

Diff Detail

Repository
R483 Skanlite
Lint
Lint Skipped
Unit
Unit Tests Skipped
bclephas requested review of this revision.May 16 2020, 7:22 PM
bclephas created this revision.
trufanov edited reviewers, added: sars, trufanov; removed: VDG.May 16 2020, 7:34 PM

I've asked Bart Clephas to forward his PR in SkanLite's github project to the phabricator, so added myself as secondary reviewer to follow it.
But Kåre Särs is a decision maker here.