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 2 years ago

Fix unparsable output by pdfinfo
english translation

9

m0ji

1 year ago

9 +

Report

C

koko2k

1 year 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

9

m0ji

1 year ago

I changed policy.xml and it works now.
Thanks

Report

9

m0ji

1 year ago

No output!

Report

C

koko2k

1 year ago

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

Report

C

koko2k

1 year ago

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

To:

...makes it work.

Report

S3 9

marianarlt

2 years ago

9 Nice idea!

Report

0.5.2 2 years ago

Fix unparsable output by pdfinfo
english translation

0.5.1 2 years 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 Base: 4 x 5.0 Ratings
Be the first to comment
m0ji
Feb 05 2019
marianarlt
Oct 19 2018
marianarlt
Oct 19 2018
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
1 Plings
0 Affiliates
Details
license
LGPLv2
version
0.5.2
updated Oct 17 2018
added Oct 01 2018
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0
System Tags addon lgplv2