Pdf-Afterscan Service Menu Original

Dolphin Service Menus

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

2
6.3
Description:

This utility is intended to fix contrast on scanned documents.
For example, it can remove noises due to paper folding.
Plus, it allows you to recompress your scanned documents by changing
the DPI or the JPEG compression settings, allowing you to reduce the size.

Requirements:
KDE/Plasma 5
ghostscript
imagemagick
poppler

Installation:
Put pdf-afterscan.gui.sh in your executables path (eg: /usr/bin)
Put pdf-afterscan.desktop in your ~/.local/share/kservices5/ServiceMenus/
(create ~/.local/share/kservices5/ if it does not exists)

Usage:
Right click in dolphin on a PDF, and select "PDF Afterscan".
Follow onscreen instructions.
Last changelog:

0.5.2 8 months ago

Fix unparsable output by pdfinfo
english translation

m0ji

4 months ago

9 +

Report

C

koko2k

4 months ago

m0ji, i think this is due to Imagemagick not being "authorized" to convert pdf to images, see:
https://bugs.archlinux.org/task/60580
a possible fix is explained here:
https://stackoverflow.com/questions/52998331/imagemagick-security-policy-pdf-blocking-conversion
...or just wait for your distro to somehow "fix" the imagemagick package.

Anyway, you can start from the console and check the output that way:
> pdf-afterscan.gui.sh /path/to/my/document.pdf

Report

m0ji

4 months ago

I changed policy.xml and it works now.
Thanks

Report

m0ji

4 months ago

No output!

Report

C

koko2k

4 months ago

I'm sorry, opendesktop is mangling my comments.
Read the original comment here:
https://pastebin.com/yeLGzCGi

Report

C

koko2k

4 months ago

Check your /etc/ImageMagick-7/policy.xml and see if changing:

To:

...makes it work.

Report

marianarlt

8 months ago

9 Nice idea!

Report

0.5.2 8 months ago

Fix unparsable output by pdfinfo
english translation

0.5.1 8 months ago

Fixed unquoted strings.

12345678910
2
product-maker m0ji Feb 05 2019 9 excellent
+
product-maker marianarlt Oct 19 2018 9 excellent
Nice idea!
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
1 Plings
*Needs ocs-url or ocs-store to install things
Details
license
LGPLv2
version
0.5.2
updated Oct 17 2018
added Oct 01 2018
downloads today
3
page views today 9
System Tags addon lgplv2