Kim (Kde Image Menu)
Graphics
Score 84%
Description:

* FEATURES:
This is an image Kde servicemenu which allows to:
- compress images,
- resize images,
- convert images,
- rotate images,
- rename images,
- resize and send by mail images,
- and more other actions !
This servicemenu use ImageMagick and Mpegtools.
----------------------------------------------------------
* PUBLICATIONS:
- Linux magzines published in its issue of May 2005 an article devoted to Kde Image Menu (Kim) ! (See www.linux-magazine.com)
----------------------------------------------------------
* NEWS:
- Kim is now available for KDE 4.x!
Last changelog:

13 years ago

Release Kim4-0.9.5 (for kde >= 4.x):
- first available version for KDE 4.x!
Release kim-0.9.5 (for kde >= 3.3):
- auto-rotate images from EXIF informations.
Release kim-0.9.4 (for kde >= 3.3):
- create a html gallery works correctly (with portrait or landscape images).
- send by mail works correctly now!
Release kim-0.9.2 (for kde >= 3.3):
- create a "pí¨le-mí¨le" with your pictures (see http://bouveyron.free.fr/kim/images/pele-mele.jpg for a demo),
- some bugs fixed ...
Release kim-0.9.1 (for kde >= 3.3):
- sort images by date (rename the images using EXIF informations),
- some bugs fixed ...
Release kim-0.9.0 (for kde >= 3.3):
- export in a gif animation,
- export in a flash slideshow for all image format now !(demo: http://bouveyron.free.fr/kim/slideshow),
- export in a html galery(demo: http://bouveyron.free.fr/kim/galery),
- and some improvements ...
Release kim-0.8.4 (for kde >= 3.3):
- Fix some bugs ...
Release kim-0.8.3 (for kde >= 3.3):
- Fix security issues by using temporary files,
- Fix UTF-8 encoding issues in desktop files,
- Fix copyrights and other licensing stuff.

xules79

2 months ago

thx

Report

DanielBull

1 year ago

This is how to get KIM working on the latest version of KDE/Plasma

Download as usual, extract the folder and instead of executing install.sh run the following commands:

sudo cp src/kim_*.desktop /usr/share/kservices5/ServiceMenus/
sudo cp src/bin/kim_* /usr/bin/
sudo chmod a+rx /usr/bin/kim_*
sudo chmod a+r /usr/share/kservices5/ServiceMenus/kim_*.desktop
sudo mkdir /usr/share/kim
sudo cp COPYING /usr/share/kim/kim_about.txt
sudo mkdir /usr/share/kim/slideshow/
sudo cp src/slideshow/* /usr/share/kim/slideshow/
sudo mkdir /usr/share/kim/gallery
sudo cp src/gallery/* /usr/share/kim/gallery

Report

oviennet

1 year ago

Thank you for this script. Now it works works with dolphin.

Report

rebolloh

1 year ago

gracias!!! funcionó!!!!

Report

suther

2 years ago

Please make a Dialoge-Field, where you can enter the size of the Border which should be added to the image. At the momemnt, you can only choose black or white border, but not the size!

Report

suther

3 years ago

Would be fine, if you'll add a option, to convert an ordinary jpg to an progessive loding one.

Report

suther

3 years ago

Befor, i still posted this Script, wich expand an image, keep ratio, and if Ratio not fit, add the background-colors to those edges are not ratio.

This was the Script, you have saved to /usr/bin/kim_spread (and make chmod +x):




#!/bin/bash
#
# Copyright (C) 2005,2006 Charles Bouveyron <charles.bouveyron@free.fr>
# Created By Samuel Suther <info@suther.de>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, U
#
# Author : Charles Bouveyron <charles.bouveyron@free.fr>
# Alessandro Faggiano <>
# Mathieu Vilaplana <mathieu@creationgif.com>
# Raphaël Pinson <raphink@raphink.net>

FILE="";
SCALE="$1";
let "nbfiles = ($# -1) / 2"
DIR="$2";
`kdialog --inputbox "Background-Color (HEX-Type: #ffffff):" #ffffff`
COLOR=$?
kdialog --title "Kim" --yesnocancel "Do you want to replace exisiting files ?"
case $? in
0) # Replace exisiting files !
dbusRef=`kdialog --progressbar "Kim - Initialising ..." "$nbfiles"`
qdbus $dbusRef showCancelButton true
compteur=0
for i in "$@";do
if [ -f "$i" ];then
#test if cancel button has been pushed
if [[ "$(qdbus $dbusRef wasCancelled)" == "true" ]] ; then
qdbus $dbusRef close
exit 1
fi
let "compteur +=1"
FILE="$i"
convert "$FILE" -border 500 -bordercolor "#ffffff" -gravity Center -crop "$SCALE+0+0" +repage "$FILE"
qdbus $dbusRef setLabelText "Kim - spreading file: `basename "$FILE"`"
qdbus $dbusRef org.freedesktop.DBus.Properties.Set org.kde.kdialog.ProgressDialog value "$compteur"
fi;
done
qdbus $dbusRef close;;

1)
dbusRef=`kdialog --progressbar "Kim - Initialising ..." "$nbfiles"`
qdbus $dbusRef showCancelButton true
compteur=0
for i in "$@";do
if [ -f "$i" ];then
#test if cancel button has been pushed
if [[ "$(qdbus $dbusRef wasCancelled)" == "true" ]] ; then
qdbus $dbusRef close
exit 1
fi
let "compteur +=1"
FILE="$i"
convert "$FILE" -border 500 -bordercolor "#fffffff" -gravity Center -crop "$SCALE+0+0" +repage "./resized_`basename "$FILE"`";

qdbus $dbusRef setLabelText "Kim - Resizing file: `basename "$FILE"`"
qdbus $dbusRef org.freedesktop.DBus.Properties.Set org.kde.kdialog.ProgressDialog value "$compteur"
fi;
done
qdbus $dbusRef close;;

2) kdialog --title "Kim" --msgbox "The action was cancelled by user !"
exit 1;;
esac;





If you've done, you have to add a new entry in the dolphin Service-Menu. This goes like this:

vi /usr/share/kde4/services/ServiceMenus/kim_convertandrotate

Then add below the section [Desktop Action ConvCustom] your own new one:

[Desktop Action ExpandRatio]
Name=Expand Ratio ...
Name[de]=Vergrößern & Hintergrundfarbe setzen (aspect Ratio)
Icon=image
Exec=kim_spread %U;

Report

zouhzouh

4 years ago

For some time, files converted from jpg to pdf have been much inflated : for example, a 600 Ko jpg file becomes a 5,5 Mo pdf file.
It used to work well before, pdf size was the same than jpg size.
I know that kim lies on imagemagick, but I do not know where to configure default settings of imagemagick. Or maybe, can one fix it in kim settings ? and how to do that ?
Any idea ? Thanks for help.

Report

jetpeach

4 years ago

does this work with newer versions of kubuntu? i can't seem to find and install with the services download new services option on dolphin in 13.04. tahsnk, jetpeach

Report

srog

4 years ago

Yes, it is working with the KDE 4.

The 'Download New Services' is an optional - The last Kim update (Feb 23 2009) was before the 'Download New Services' was implemented.

The kim4-0.9.5.tar.gz is available - You could download it and install it manually. The Kim4 is also available from the Ubuntu PPA repositories: https://launchpad.net/ubuntu/+ppas?name_filter=kde-service-menu-kim4

Report

srog

4 years ago

... and the Kim is under the 'KDE Graphic Tool' ( http://kde-apps.org/?xcontentmode=223 ). The 'Download New Services' is seeking things from the 'Service Menus' ( http://kde-apps.org/index.php?xcontentmode=287 ) - I think ??

Report

yochanon

4 years ago

Been a fan of this app for years. It's simple, intuitive and just plain works.

Report

oviennet

5 years ago

Is there a package for ubuntu 12.04 somewhere ?
If not could someone do one ?

The latest i have found is for Hardy :
http://packages.ubuntu.com/hardy/konq-kim

Report

HardinComp

5 years ago

I love KIM, in fact I just installed it on my rebuilt LMDE + KDE 4.8.4 box because I realized I missed having it. I'm finding that I can find some wallpaper images that are 1680x1050 that I want to resize to 1440x900. It's a direct resize and I know I could just let KDE resize it on the fly but I like to have my wallpaper images sized for my screen in case a wallpaper change comes when I'm already pushing my CPU pretty hard. Would it be possible to add 1440x900 to the list of available image resize sizes?

Report

krzywda

6 years ago

Hy can you add support 3d files ?
there is main .mpo format and very offen users convert it to anagliph : here is example

http://www.3df33d.tv/conversion-of-fujifilm-w1-w3-mpo-files-on-mac-or-linux-for-3df33d

and very nice if you add convert 3d avi video file (stereo) to anagliph.

thanks

Report

krzywda

6 years ago

Hy i try install it from dolphin services menu - add new -> kim -> install = install ok but kim dont show...

Report

Neije

4 years ago

same problem here. Everything was working fine until my last system update on arch. Everything seems to be installed correctly but the menu don't show up on right clic !

Report

suther

6 years ago

And here the excatly code to spread images....

Maybe insert it as own file (kim_spread in /usr/bin/):


#!/bin/bash
#
# Copyright (C) 2005,2006 Charles Bouveyron <charles.bouveyron@free.fr>
# Created By Samuel Suther <info@suther.de>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, U
#
# Author : Charles Bouveyron <charles.bouveyron@free.fr>
# Alessandro Faggiano <>
# Mathieu Vilaplana <mathieu@creationgif.com>
# Raphaël Pinson <raphink@raphink.net>

FILE="";
SCALE="$1";
let "nbfiles = ($# -1) / 2"
DIR="$2";
`kdialog --inputbox "Background-Color (HEX-Type: #ffffff):" #ffffff`
COLOR=$?
kdialog --title "Kim" --yesnocancel "Do you want to replace exisiting files ?"
case $? in
0) # Replace exisiting files !
dbusRef=`kdialog --progressbar "Kim - Initialising ..." "$nbfiles"`
qdbus $dbusRef showCancelButton true
compteur=0
for i in "$@";do
if [ -f "$i" ];then
#test if cancel button has been pushed
if [[ "$(qdbus $dbusRef wasCancelled)" == "true" ]] ; then
qdbus $dbusRef close
exit 1
fi
let "compteur +=1"
FILE="$i"
convert "$FILE" -border 500 -bordercolor "#ffffff" -gravity Center -crop "$SCALE+0+0" +repage "$FILE"
qdbus $dbusRef setLabelText "Kim - spreading file: `basename "$FILE"`"
qdbus $dbusRef org.freedesktop.DBus.Properties.Set org.kde.kdialog.ProgressDialog value "$compteur"
fi;
done
qdbus $dbusRef close;;

1)
dbusRef=`kdialog --progressbar "Kim - Initialising ..." "$nbfiles"`
qdbus $dbusRef showCancelButton true
compteur=0
for i in "$@";do
if [ -f "$i" ];then
#test if cancel button has been pushed
if [[ "$(qdbus $dbusRef wasCancelled)" == "true" ]] ; then
qdbus $dbusRef close
exit 1
fi
let "compteur +=1"
FILE="$i"
convert "$FILE" -border 500 -bordercolor "#fffffff" -gravity Center -crop "$SCALE+0+0" +repage "./resized_`basename "$FILE"`";

qdbus $dbusRef setLabelText "Kim - Resizing file: `basename "$FILE"`"
qdbus $dbusRef org.freedesktop.DBus.Properties.Set org.kde.kdialog.ProgressDialog value "$compteur"
fi;
done
qdbus $dbusRef close;;

2) kdialog --title "Kim" --msgbox "The action was cancelled by user !"
exit 1;;
esac;

Report

suther

6 years ago

I need to spread an image to another size, without to resizing it.

So it can be done on this way:

1) Create a Border for the Image with same Backgroundcolor (would be fine, if your KIM-Border-Function had an inputfield to insert the size of the border!)

2) Croop the Image to the new Size

Best way, you add this new feature to your KIM Programm to make all those steps with one klick.

Click Spread-Image
>> Enter needed Image-SIZE (must bigger as actual imagesize)
>> Choose needed Color


This are the lines, which made it:
(Spread an image from 600x450 to 610x460) :

mogrify -border 500 -bordercolor "#ffffff" test.jpg

convert test.jpg -gravity Center -crop 610x460+0+0 +repage croped.jpg

Report

suther

6 years ago

I need to spread an image to another size, without to resizing it.

So it can be done on this way:

1) Create a Border for the Image with same Backgroundcolor (would be fine, if your KIM-Border-Function had an inputfield to insert the size of the border!)

2) Croop the Image to the new Size

Best way, you add this new feature to your KIM Programm to make all those steps with one klick.

Click Spread-Image
>> Enter needed Image-SIZE (must bigger as actual imagesize)
>> Choose needed Color


This are the lines, which made it:
(Spread an image from 600x450 to 610x460) :

mogrify -border 500 -bordercolor "#ffffff" test.jpg

convert test.jpg -gravity Center -crop 610x460+0+0 +repage croped.jpg

Report

suther

7 years ago

I have a BUG found on KIM.
If i choose some images, right click >> Convert & rotate >> Convert for Webpages 800x600 - KIM ask me to overwrite existing files.

If i say yes... no files are changed. I have always to say no... in this case, KIM creates new files with the prefix web_


My System:
Qt: 4.7.0
KDE: 4.5.00 (KDE 4.5.0)
kde4-config: 1.0
Kubuntu 10.04

Report

metalized

7 years ago

Hi,

first congratulations for the great work on this service menu.

Secondly I have made some modifications to include the choice of text colors when using kim_treatment.


case $SCELTA in
mark) annotation=`kdialog --inputbox "Choose your annotation:" "My annotation"`
textcolor=`kdialog --inputbox "Choose the color for the annotation:" "black"`;; # added for color choosing
border) color=`kdialog --radiolist "Kim - Select border color:" 1 "white" on 2 "black" off`;;
and then on the execution

mark)
mogrify -fill "$textcolor" -font SheerBeauty -pointsize 20 -draw "gravity southeast text 0,0 '$annotation'" "$ATTACHMENTS"
....
....
mark)
convert -fill "$textcolor" -font SheerBeauty -pointsize 20 -draw "gravity southeast text 0,0 '$annotation'" "$ATTACHMENTS" "$DIR"/text_`basename "$ATTACHMENTS"`

It adds one more dialog box, but it adds good functionality (at least it helped me :-))

Feel free to integrate it if you wish...
Regards

Report

C

cbouveyron

7 years ago

Hi guys,

I would like to both thank all of you for your contributions to KIM and to apologize for not being able to find time to update KIM with your improvements! If some of you are interested in heading the future development of KIM, do not hesitate to contact me...

Best regards,

Charles

Report

janet

7 years ago

Maybe you want to use my menu files? I have added German translation and use icon names of KDE4.

http://kde-apps.org/content/show.php?content=122627

Report

medo3891

7 years ago

I've fixed the service menu icons for the kim package in Mandriva, the patches are available in SVN:
http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/kim/current/SOURCES/

all the icons are from the oxygen-icon-theme in KDE4 (specifically 4.3.85). I hope you'll merge them.

Thanks.

Report

13 years ago

Release Kim4-0.9.5 (for kde >= 4.x):
- first available version for KDE 4.x!
Release kim-0.9.5 (for kde >= 3.3):
- auto-rotate images from EXIF informations.
Release kim-0.9.4 (for kde >= 3.3):
- create a html gallery works correctly (with portrait or landscape images).
- send by mail works correctly now!
Release kim-0.9.2 (for kde >= 3.3):
- create a "pí¨le-mí¨le" with your pictures (see http://bouveyron.free.fr/kim/images/pele-mele.jpg for a demo),
- some bugs fixed ...
Release kim-0.9.1 (for kde >= 3.3):
- sort images by date (rename the images using EXIF informations),
- some bugs fixed ...
Release kim-0.9.0 (for kde >= 3.3):
- export in a gif animation,
- export in a flash slideshow for all image format now !(demo: http://bouveyron.free.fr/kim/slideshow),
- export in a html galery(demo: http://bouveyron.free.fr/kim/galery),
- and some improvements ...
Release kim-0.8.4 (for kde >= 3.3):
- Fix some bugs ...
Release kim-0.8.3 (for kde >= 3.3):
- Fix security issues by using temporary files,
- Fix UTF-8 encoding issues in desktop files,
- Fix copyrights and other licensing stuff.

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.9.5 (KDE 4.x)
updated Feb 23 2009
added Mar 22 2004
downloads today
0
page views today 0