
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
* 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!
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.
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.
krenakrama
3 months ago
- install https://github.com/caco3/kim5
- sudo ./install.sh
- sudo pacman -S imagemagick
- sudo pacman -S kdialog
Report
andyka
1 year ago
Report
CaCO3
2 years ago
Report
xules79
3 years ago
Report
DanielBull
4 years ago
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
rebolloh
4 years ago
Report
oviennet
4 years ago
Report
suther
5 years ago
Report
suther
7 years ago
Report
suther
7 years ago
This was the Script, you have saved to /usr/bin/kim_spread (and make chmod +x):
#!/bin/bash
#
# Copyright (C) 2005,2006 Charles Bouveyron <[email protected]>
# Created By Samuel Suther <[email protected]>
#
# 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 <[email protected]>
# Alessandro Faggiano <>
# Mathieu Vilaplana <[email protected]>
# Raphaël Pinson <[email protected]>
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 "[email protected]";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 "[email protected]";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
7 years ago
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
7 years ago
Report
srog
7 years ago
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
7 years ago
Report
yochanon
8 years ago
Report
oviennet
8 years ago
If not could someone do one ?
The latest i have found is for Hardy :
http://packages.ubuntu.com/hardy/konq-kim
Report
HardinComp
8 years ago
Report
krzywda
9 years ago
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
9 years ago
Report
Neije
7 years ago
Report
suther
9 years ago
Maybe insert it as own file (kim_spread in /usr/bin/):
#!/bin/bash
#
# Copyright (C) 2005,2006 Charles Bouveyron <[email protected]>
# Created By Samuel Suther <[email protected]>
#
# 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 <[email protected]>
# Alessandro Faggiano <>
# Mathieu Vilaplana <[email protected]>
# Raphaël Pinson <[email protected]>
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 "[email protected]";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 "[email protected]";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
9 years ago
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
9 years ago
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
10 years ago
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
10 years ago
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