[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-artists
Subject:    K-ARTIST:Tip: Servicemenu for konqueror, that rotates images.
From:       David Faure <faure () kde ! org>
Date:       2002-09-19 14:04:12
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Just in case someone is interested by such a feature ;)

- -- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
Get the latest KOffice - http://download.kde.org/stable/koffice-1.2/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9idlc72KcVAmwbhARAhqXAKCDVguZJQvxunAg2cd8EEHx6cjZsgCfcQ1E
EIY9gBTozmVE8k8GaZZu5zM=
=nim3
-----END PGP SIGNATURE-----

["forwarded message" (message/rfc822)]

Return-Path: <neil@gibsonsphoto.worldonline.co.uk>
Received: from ktown.kde.org (kde.informatik.uni-kl.de [131.246.103.200])
	by smtp.mandrakesoft.com (8.12.1/8.12.1) with SMTP id g8JE2LTg011222
	for <david@mandrakesoft.com>; Thu, 19 Sep 2002 16:02:22 +0200
Received: (qmail 8655 invoked by uid 1055); 19 Sep 2002 13:59:31 -0000
Delivered-To: kde.org-dfaure@kde.org
Received: (qmail 8653 invoked by uid 1055); 19 Sep 2002 13:59:31 -0000
Delivered-To: kde.org-faure@kde.org
Received: (qmail 8647 invoked from network); 19 Sep 2002 13:59:31 -0000
Received: from mk-smarthost-3.mail.uk.tiscali.com (212.74.114.39)
  by kde.informatik.uni-kl.de with SMTP; 19 Sep 2002 13:59:30 -0000
Received: from [62.64.162.232] (helo=gibsonsphoto.worldonline.co.uk)
	by mk-smarthost-3.mail.uk.tiscali.com with esmtp (Exim 4.10)
	id 17s1ol-000BRB-00
	for faure@kde.org; Thu, 19 Sep 2002 14:58:07 +0100
Message-ID: <3D89E676.2000702@gibsonsphoto.worldonline.co.uk>
Date: Thu, 19 Sep 2002 15:00:06 +0000
From: Neil Lewis <neil@gibsonsphoto.worldonline.co.uk>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204
X-Accept-Language: en-us, en-gb
MIME-Version: 1.0
To: David Faure <faure@kde.org>
Subject: Re: My query about batch rotating in Konqueror
Content-Type: text/plain;
  charset=us-ascii;
  format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Level: *
X-Spam-Status: No, hits=0.0 required=8.0 tests= version=2.20
X-Spam-Level: 
X-UIDL: ~GN"!ah8"!f?+!!p,j"!
Status: R 
X-Status: N
X-KMail-EncryptionState:  
X-KMail-SignatureState:  

  Hello David,

Just to let you know that your suggestion was great.

I checked out http://dot.kde.org as you said and found an article on adding
service menus to Konqueror by Aaron Seigo.

Following his method, I saved the following code in a file called 
"BatchRotate.desktop"
in /opt/kde3/share/apps/konqueror/servicemenus and, well what can I say 
- job done!
------------------------------------------------------------------------------------------------------------------------------------
 [Desktop Entry]
ServiceTypes=image/png,image/jpg,image/jpeg,image/tif
Actions=BatchRotateLandscapesCCW;BatchRotateLandscapesCW;BatchRotateAllCCW;BatchRotateAllCW


[Desktop Action BatchRotateAllCCW]
Name=Rotate All Images AntiClockwise
Icon=rotate_ccw
Exec=mogrify -rotate -90 %U

[Desktop Action BatchRotateAllCW]
Name=Rotate All Images Clockwise
Icon=rotate_cw
Exec=mogrify -rotate 90 %U

[Desktop Action BatchRotateLandscapesCCW]
Name=Rotate Landscape Images AntiClockwise
Icon=rotate_ccw
Exec=mogrify -rotate -90> %U

[Desktop Action BatchRotateLandscapesCW]
Name=Rotate Landscape Images Clockwise
Icon=rotate_cw
Exec=mogrify -rotate 90> %U
--------------------------------------------------------------------------------------------------------------------------------------
 Thanks again,

Neil Lewis, Gibsons Photography, London.


_______________________________________________
kde-artists mailing list
kde-artists@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-artists

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic