Commit graph

48 commits

Author SHA1 Message Date
Anton Thomasson
137eb965bf Set creator in plaintext PDF 2021-06-19 16:34:17 +02:00
Anton Thomasson
79653dc244 Add image to PDF/Postscript conversion 2021-06-13 13:56:44 +02:00
Anton Thomasson
598107bcb0 Fix missing include 2021-06-12 18:40:18 +02:00
Anton Thomasson
4e8692c431 Add plaintext support 2021-06-12 12:45:58 +02:00
Anton Thomasson
76fdbb987f Stop using new for processes 2021-06-12 12:01:26 +02:00
Anton Thomasson
22b6ec1c63 Break out ConvertWorker::adjustPageRange 2021-06-12 12:01:26 +02:00
Anton Thomasson
5125c48654 Break out ConvertWorker::pdftoPs 2021-06-12 12:01:17 +02:00
Anton Thomasson
e6d9a80e1c Use pdfToRaster in convertPdf too. 2021-06-12 11:00:25 +02:00
Anton Thomasson
8c18418f26 Break out ConvertWorker::pdfToRaster 2021-06-12 10:34:46 +02:00
Anton Thomasson
580bbdfdbb Make progress smoother 2021-05-13 19:53:01 +02:00
Anton Thomasson
905745714c Add page-ranges for office documents 2021-03-06 17:20:51 +01:00
Anton Thomasson
43373d159e Add calligraconverter support 2021-03-06 12:59:47 +01:00
Anton Thomasson
22c823563b Use exception-based error handling in ConvertWorker 2021-03-05 20:28:10 +01:00
Anton Thomasson
b569aede6b Clean up mimetype handling 2021-03-04 21:49:27 +01:00
Anton Thomasson
d6ef26b64e Delete tmpfile on all failures 2021-02-24 21:50:28 +01:00
Anton Thomasson
e5b105a3c6 Actually fix total number of pages with ranges 2021-02-18 20:07:40 +01:00
Anton Thomasson
86501b45d9 Fix total number of pages with ranges
Relevant for progress reporting and URF file headers
2021-02-17 22:15:04 +01:00
Anton Thomasson
7913a6c306 Improve grayscale handling 2020-11-30 20:46:26 +01:00
Anton Thomasson
657cd37269 Remove timeouts 2020-11-30 20:28:33 +01:00
Anton Thomasson
3f50416972 Simplify image->raster conversion 2020-11-24 18:15:31 +01:00
Anton Thomasson
f6d6b51b9f Allow the page range setting in more cases
=if the attribute is supported or pdf processing tools are installed
2020-09-23 20:14:33 +02:00
Anton Thomasson
7564408fb2 Center images in X when converting to raster 2020-08-22 17:37:22 +02:00
Anton Thomasson
e1d34a4d1d Add page range support 2020-08-01 20:18:47 +02:00
Anton Thomasson
eb58606250 Update ppm2pwg and enable auto-portrait 2020-08-01 17:03:17 +02:00
Anton Thomasson
1abbdfb768 Add progress to pdf conversions 2020-07-30 22:21:14 +02:00
Anton Thomasson
406c92c9a4 Adjust conversion timeout according to number of pages
...super conservative for now.
2020-07-30 21:41:58 +02:00
Anton Thomasson
8106e47c6d Remove sRGB option 2020-06-21 18:03:46 +02:00
Anton Thomasson
227fd7221a Add option to always use media-col 2020-06-21 15:49:50 +02:00
Anton Thomasson
4f9ee8cb3c Simplify image conversion 2020-06-08 18:24:40 +02:00
Anton Thomasson
f42dbf4484 Use SRGB setting in ppm2pwg
image->sRGB
PDF->RGB
2020-06-07 17:38:40 +02:00
Anton Thomasson
3bf59f0141 Remove duplex from IPP attributes if PS 2020-06-07 15:27:27 +02:00
Anton Thomasson
bfd496138d Add pdf->postscript conversions 2020-06-06 15:47:43 +02:00
Anton Thomasson
76abb7cea5 Add option to remove sides IPP attribute for raster formats
...because apparently my printer doesn't like it,
even if it agrees with the raster file
2020-06-06 14:59:44 +02:00
Anton Thomasson
09fbb96a7e Rework/expose format conversions 2020-06-04 21:31:46 +02:00
Anton Thomasson
2c1c6e4dc5 Move URF resolution fix to IppPrinter
...so it can be sent in the attributes
2020-06-01 21:56:47 +02:00
Anton Thomasson
a42dbbc682 Make it possible to build in release mode 2020-06-01 21:12:29 +02:00
Anton Thomasson
bd710831eb Add paper sizes 2020-05-16 15:17:42 +02:00
Anton Thomasson
8c22740651 Enable translation of error messages from C++ 2020-05-14 21:00:37 +02:00
Anton Thomasson
ef9b222c35 vertically center images 2020-05-13 20:18:20 +02:00
Anton Thomasson
f7aba42af2 Add image-to-raster conversions 2020-05-13 19:53:44 +02:00
Anton Thomasson
aa6daa1d77 Connect print job settings to ppm2pwg env 2020-05-09 20:39:50 +02:00
Anton Thomasson
c1570bcb1b Add a status page for convert/transfer 2020-05-06 20:46:41 +02:00
Anton Thomasson
a586dcca1a Get dpi for pdf conversion from settings or defaults 2020-05-05 20:36:01 +02:00
Anton Thomasson
4519f0a13e move ppm2pwg to inside seaprint 2020-05-05 20:09:09 +02:00
Anton Thomasson
cd31098279 Add basic conversion heuristics 2020-05-03 14:13:44 +02:00
Anton Thomasson
69fa9e52fb Change to poppler for pdf conversion 2020-05-02 18:14:33 +02:00
Anton Thomasson
b705cc28ea add ppm2pwg as a submodule 2020-05-02 18:14:12 +02:00
Anton Thomasson
5568452a79 Move conversion to a proper worker thread 2020-05-01 15:02:29 +02:00