VectorLinux
October 25, 2014, 05:15:31 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: how tos..scale image in kde-contextmenue  (Read 2489 times)
ghartl1
Vectorite
***
Posts: 379


« on: September 20, 2007, 06:46:27 am »

sorry,

i know i am wrong here.
i didnt find a menue "new topic" in the how-to section..
would the admin be so kind to puttung me in the correct section (howtos)

so..back to topic..scale images with kde

i created a useful(at least for me) contextmenueentry to scale images.i always have had trouble to scale images to an appropirate size for my friends..open the images with gimp...and scale them there to a smaller size..and send them via email..(a lot of my friends still use dialup-modems)

so you can tweak the images (usually jpegs) on the cli with imagemagick-tools...or gimp or whatever..
for me as an lazy user not acceptable.
i created a new entry in the contextmenue(actually, i got the hint from a forum somewhere..dont remember yet)

works only with kde (i use kde 3.5.6)
requirements: kde and the package imagemagick should be installed

what to do:

go to the file:~/.kde/share/apps/konqueror/servicemenus...

create a new file..i have called it "scale-image.desktop"

copy and paste the lines below in this file..

[Desktop Entry]
ServiceTypes=image/*
Actions=scaleBy50;scaleBy25
X-KDE-Submenu=Bild verkleinern

[Desktop Action scaleBy50]
Name=um 50 Prozent
Name=um 50 Prozent
Exec=mogrify -geometry 50%% %f

[Desktop Action scaleBy25]
Name=um 25 Prozent
Name=um 25 Prozent
Exec=mogrify -geometry 25%% %f

if necessary, alter the words "Bild verkleinern" and "um 50(25) Prozent" to your language..eg. in english:"scale image" and "scale by 50 percent)
my language is german :-)

you are set....try and enjoy

here a snapshot..a little big..but you can see what its look like(and in english too :-)

http://www.250kb.de/u/070920/j/1b1eb5f5.jpg

greets g√ľnter
« Last Edit: September 21, 2007, 05:46:50 am by The Headacher » Logged
The Headacher
Louder than you
Global Moderator
Vectorian
*****
Posts: 1551


I like the bass to go BOOM!


WWW
« Reply #1 on: September 21, 2007, 05:50:24 am »

Quote
would the admin be so kind to puttung me in the correct section (howtos)

Moved as requested, except that I'm not an admin Wink. I can create a new topic just fine in howto's, but that's probably because I am a moderator. The admins will have to take care of changing permissions, I can't do that.
Logged

Most music on my soundcloud page was arranged in programs running on VL.
ghartl1
Vectorite
***
Posts: 379


« Reply #2 on: September 21, 2007, 07:35:43 am »

thanks....
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!