Kim (Kde Image Menu)

Graphic Apps

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

12
8.1
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:

11 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.

gassauer

13 years ago

IMHO autorotate should not modify modification date
* for files without need for auto-rotation in any case.
* for other files optionally

Report

allistar

13 years ago

Hi there,
If executing the action from Konqueror with the url:

system:/home/allistar/image.jpg

KIM doesn't work as the file doesn't pass the -f bash test. If the url is instead:

/home/allistar/image.jpg

(without the "system:" at the front) then it works as expected. What need to happen I think is that the KIM scripts need to strip off the "system:" from the start of file names.

Report

yildirim

13 years ago

just found a misspell..

When creating a gallery html with kim, I see this at the end of the html page:

Galery created with Kde Image Menu

Obviously should be "Gallery"

Report

yildirim

13 years ago

Thank you for your great idea.. It is really helpful. Just one feature you could add would be great. When I converted from a 600kb png to jpeg, I did not gain any space.. the jpeg file was 550kb..
Is it possible to add to KIM so that it will convert t a lossy jpeg so that the image would be around 100kb?

Also adding jpeg2000 would be cool :D.
thanks

Report

jayenell

13 years ago

'Send by mail' does not work at all. The kmail icon is flashing for 1 sec. and nothing happens.

Report

CaCO3

13 years ago

I had to replace every $HOST to $HOSTNAME

after that, I can make a photo montage, but only in my console with the command
./kim_pelemele image1.jpg image2.jpg

Why doesnt it work by contexmenu?

Report

Spinnaker

13 years ago

Désolé pour le français...
Je viens de passer sous Mandriva 2008 powerpack ( en reformattant /)et j'ai oublié de sauvegarder ce fameux fichier kim_resizeandsend qui m'a donné tant de mal l'an dernier avec Mandriva 2007 alors qu'il marchait très bien sous la 2006; grâce à ce post, j'ai pu le reconstituer. Il serait temps que Mandriva l'intègre dans ses distributions futures. C'est un outil indispensable.
Pour gagner du temps, voici une version qui marche ( Trois modifications : un / enlevé devant tmp à la deuxième ligne; un HOSTNAME à la place d'un HOST et un sleep 60 rajouté en bas). Peut-être qu'un connaisseur pourrait nous expliquer le pourquoi du comment!
test -n "$KDEHOME" || KDEHOME="`kde-config --localprefix`"; export KDEHOME
TMPDIR=`mktemp -d "$KDEHOME"tmp-"$HOSTNAME"/kim.XXXXXXXX` || exit 1

ATTACHMENTS="";

choice=`kdialog --radiolist "Kim - Send by mail:" 1 "Full size" off 2 "800x600 px" on 3 "600x450 px" off 4 "300x225 px" off`;

let "nbfiles = $#"
dcopRef=`kdialog --progressbar "Kim - Initialising ..." $nbfiles`
dcop $dcopRef showCancelButton true

compteur=0

for i in "[email protected]";do
if [ -f "$i" ];then
#test if cancel button has been pushed
if test "true" = `dcop $dcopRef wasCancelled`;then
dcop "$dcopRef" close
exit 1
fi
ATTACHMENTS="$i"
let "compteur +=1"
dcop "$dcopRef" setLabel "Kim - Resizing and compressing file: `basename "$ATTACHMENTS"`"
dcop "$dcopRef" setProgress $compteur
case "$choice" in
1) cp $i $TMPDIR;;
2) convert -resize 800x800 "$ATTACHMENTS" "$TMPDIR"/`basename "$ATTACHMENTS"`;;
3) convert -resize 600x600 "$ATTACHMENTS" "$TMPDIR"/`basename "$ATTACHMENTS"`;;
4) convert -resize 300x300 "$ATTACHMENTS" "$TMPDIR"/`basename "$ATTACHMENTS"`;;
*)exit 1;;
esac
fi;
done
sleep 60
kmail --attach "$TMPDIR"/*;
dcop "$dcopRef" close;
kdialog --msgbox "Kim - Send by mail: you can write your message!"
rm -rf "$TMPDIR"

Report

gollum

13 years ago

Hy

Nice utility.
I am using it to do conversion to svg.
I go this way :
Place the files I want to convert in a directory
select all
rightclick and use KIM to convert to pgm
then, in a konsole, i tape :
potrace -s *.pgm

May be nice to have this all done in a onshot only :)

Thanks for kim, looking forward to having potrace integration in it ( well, if you don't wand to depend on it, just use a popup saying that potrace needs to be instaled, and perhaps that it works only whith black and white )

Report

alexnihilo

13 years ago

this prog. is really indispensable, it should be automatically include in KDE !

Report

studioz

14 years ago

How about include this menu in the pack? http://www.kde-apps.org/content/show.php?content=51247

Report

anderslund

14 years ago

the script to create a photo montage has #!/bin/sh in the shebang line, but it's a tsch script.

That is probably a bad expectation! most users likely have bash as the default shell.

Report

anderslund

14 years ago

or, at least it does not work with bash.

After correcting $HOST to $HOSTNAME, i now get an error from montage about '--' not being a valid geometry.

It comes from "-$OVER-$OVER", and i have no idea why $OVER is wrong.

Report

sunman

14 years ago

This is one of the most useful service menus I've ever put on my system. In fact, having recently upgraded to slack 11 I went to grab the latest version and couldn't find it. I was horrified that something so nifty had seemingly disappeared...until I realized I was looking in the wrong section (service menus instead of graphic tools). Thanks for the great work :)

Report

dovidhalevi

14 years ago

I have installed past versions successfully.

This one never gets to the dialog. It is apparently looking for some stuff at root location rather than on $KDEDIR ??

Report

masonmouse

14 years ago

I had the same problem. The script relies on an executable called kde-config which doesn't appear to be on my system so I just edited that line in install.sh to manually set the path and it worked fine then.

Report

Spinnaker

14 years ago

I have the same problem; all the options of kim are good except " send by mail" who never open "kdialog" windows.
I am on Mandriva powerpack 2007 and before, on Mandriva 2006 i had no problem.
Please HELP.....

Report

C

cbouveyron

14 years ago

Yes, the installation script has changed! Now, you have to type ./install.sh as root!

Regards,

Charles

Report

redfish

14 years ago

Same messages for me:
kim # ./install.sh
mv: cannot stat `imageconverter.desktop': No such file or directory
mv: cannot stat `jpegorient.desktop': No such file or directory
Installation completed. Good bye.

Works fine but it's a bit irritating though ;)
Maybe a test if the files exist befor the 2 mv's would be nice.

Definitely a very nice collection!

Report

dovidhalevi

14 years ago

This is what I did. Tried it sudo and tried it from a su login.

Here is the su results:
kim# ./install.sh
mkdir: cannot create directory `/opt/kde3.5/share/apps/kim': File exists
mkdir: cannot create directory `/opt/kde3.5/share/apps/kim/slideshow/': File exists
mkdir: cannot create directory `/opt/kde3.5/share/apps/kim/galery': File exists
mv: cannot stat `imageconverter.desktop': No such file or directory
mv: cannot stat `jpegorient.desktop':
No such file or directory
Installation completed. Good bye.

(This should say installation NOT completed, uninstall first.)

Taking a hint from this, I did ./uninstall.sh first.

Then repeated ./install.sh. Did not get the error lines but did not get a dialog box either.

Since the KIM items do work, I assume the dialog is no longer available and each option has its own shell. OK.

Report

BorgQueen

14 years ago

As always.
Thanks.

Report

alexnihilo

14 years ago

Really usefull, indeed it should be included in KDE (as soon as its little bugs are solved...) ;)

Report

linux3114a

14 years ago

I create a slideshow with mixed landscape and portrait images. each portrait image is treated as landscape during the run.( deformed )

When I check the size of portrait pictures in the image subdirectory are correct.( not deformed ).

I don't understand Why ?

Report

linux3114a

14 years ago

The problem persits with the version 0.9.3 ?????

Report

C

cbouveyron

14 years ago

Hello,

The problem is related to the fact that your pictures are in a directory which the name contains a space. I will try to fix this.

Charles

Report

linux3114a

14 years ago

My directory and my files names are not space in it.
dir : auvergne2006-bis
file : s5000070.jpg.jpg


?????

Report

11 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.

12345678910
14
product-maker krenakrama Oct 06 2020 9 excellent
Manjaro 20.1 (KDE): - install https://github.com/caco3/kim5 - sudo ./install.sh - sudo pacman -S imagemagick - sudo pacman -S kdialog
product-maker andyka Jun 11 2019 9 excellent
9 excellent
product-maker xules79 Sep 15 2017 9 excellent
thx
product-maker srog Oct 16 2013 9 excellent
product-maker yochanon Dec 12 2012 9 excellent
product-maker cichys Oct 05 2012 9 excellent
product-maker marcs Apr 05 2012 9 excellent
product-maker ATAHUALPA Jan 26 2012 9 excellent
product-maker suther May 11 2011 9 excellent
product-maker jmunin Mar 22 2011 9 excellent
product-maker SeaJey Dec 08 2010 9 excellent
product-maker axg Nov 20 2010 9 excellent
product-maker 1antares1 Nov 20 2010 9 excellent
product-maker LazyKent Oct 25 2010 9 excellent
Be the first to comment
anvil
Nov 01 2019
Prozor
Apr 15 2014
yochanon
Dec 12 2012
cichys
Oct 05 2012
marcotangaro
Oct 26 2011
krzywda
May 24 2011
suther
May 11 2011
jmunin
Mar 22 2011
AngelBlue01
Sep 14 2010
janet
Mar 29 2010
ngrocott
Dec 09 2009
tnt
Oct 12 2009
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.9.5 (KDE 4.x)
updated Feb 23 2009
added Mar 22 2004
downloads 24h
0
mediaviews 24h 0
pageviews 24h 11
System Tags app software