Image Manipulation Service Menu - imagemagick

Dolphin Service Menus

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
6.1

Description:
Service Menu for image manipulation in KDE. Works fine in Dolphin or konqueror.


HOWTO INSTALL KDE 5x:

1) Needs packages imagemagick, ocrmypdf and gksu to be installed (install from package management)!

2) Extract archive and extract the archives within the archive

3) Extract content from folder within archive 'usr-share-kservices5-servicemenus' in this folder:
/usr/share/kservices5/ServiceMenus/
(you have to be root to do that. Start "gksu thunar" or "gksu yourfilemanager" in order to become root)

4) Insert content of folder 'home-scripts' in your home folder in a subfolder called 'scripts'. So for example:
/home/myusername/scripts/

5) Restart Dolphin or Konqueror

6) Open this file as root: /etc/ImageMagick-7/policy.xml
And change this line --> policy domain="coder" rights="none" pattern="PDF" to this: policy domain="coder" rights="reader | write" pattern="PDF"

7) Finished! Simply click right on image file and go to 'Actions' and then 'Images' and convert images. A new file will be created so no original files are overwritten.


OL HOWTO INSTALL KDE 4x:

1) Needs package imagemagick to be installed (install from package management)!

2) Extract archive and extract the archives within the archive

3) Insert content archive 'home-kde-share-kde4-services-ServicMenus.zip' in your home folder:
/home/yourusername/.kde/share/kde4/services/ServiceMenus/

4) Insert content 'home-scripts.zip' in your home folder in a subfolder called 'scripts'. So for example:
/home/myusername/scripts/

5) Restart Dolphin or Konqueror

6) Finished! Simply click right on image file and go to 'Actions' and then 'Images' and convert images. A new file will be created so no original files are overwritten.


FEATURES:

-Resize images to 1200px, 800px, 150px
-Rotate image +90, -90, 180 degrees
-Convert image to PNG or JPG OR PDF
-Intensify color
-Convert to grayscale
-Auto correct brightness
-Create shadow around PNG file
-OCR PDF-Files (English and German). You need to have the package ocrmypdf installed.
-Insert logo.png (inserts a Logo-File called "logo.png" from same folder and places it in Image in the bottom-right corner)

FEATURE REQUESTS:

For additional feature requests please comment below and I will add features if possible.
Last changelog:

OCR-fucntionality added

OCR-fucntionality added


Ratings & Comments

6 Comments

stalin2000

Hi, if someone can tell me how to do it, I will implement the sorting by name! But at the moment I don't know how. @gassauer: I implemented your OCR-Suggestion

gassauer

it would be great if the menu items would be sorted alphabetically (depending on language used)

gassauer

I prefer the ocr as postfix. using ocr as a prefix the ocr file is not located next to the original in alphabetic order. just my 2 cents - very nice indeed. ocr-pdf-ger.sh #!/bin/bash _file="${1}" _directory=$(dirname "$_file") _filename=$(basename "$_file") _filename=`echo ${_filename} | sed -e 's/.pdf/_ocr.pdf/'` ocrmypdf -l deu "${_file}" "${_directory}/${_filename}"

BJIacTeJIuH

Thank you very convenient and useful tool !! Ps it is a Pity only localizations on all languages are not present and the directory with executable scripts (home/%Username%/scripts/*.sh) not very convenient. Maybe you can somehow "finished" ??

KDE4WasBetter

9 Very nice!

snock

Perfect working in archlinux with plasma, thanks

Pling
0 Affiliates
Details
license
version 3
updated
added
downloads 24h 2
mediaviews 24h 0
pageviews 24h 1

Other Dolphin Service Menus:

burnWithGrowisofs
chunkylover
last update date: 20 years ago

Score 5.0

Firefox-bookmarks service menu
storyteller
last update date: 20 years ago

Score 5.0

Text Convert Service Menu
smp-penguin
last update date: 21 years ago

Score 5.0

Pdflatex servicemenu
bobuse
last update date: 20 years ago

Score 5.0

Send through Bluetooth
dmnet
last update date: 21 years ago

Score 5.0

Add to Bloglines
spookster
last update date: 20 years ago

Score 5.0



System Tags