Add single page PDF support
Needs ReviewPublic

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



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

R483 Skanlite
Lint Skipped
Unit Tests Skipped
bclephas requested review of this revision.Sat, May 16, 7:22 PM
bclephas created this revision.
trufanov edited reviewers, added: sars, trufanov; removed: VDG.Sat, May 16, 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.