You are not logged in.

1

Thursday, May 6th 2004, 3:35am

jpegorient, KDE 3.2.2, and the service menu - Wrong Usage???

Boy would it be nice to have the ability to rotate pics on the fly thru konqueror, I sez. Lo and behold, in the service menu I found that option! But every time I try it on a jpeg, I get the error "couldn't find the program 'jpegorient +90 %u' (replace the +90 with whatever option I try). I looked into my jpegorient.desktop file and played around with it, but to no avail. I have tried different usage of the jpegorient binary, like jpegorient 90, etc etc. The usage seems to be such that it should rotate when I use "jpegorient 90 (or whatever number) filename.jpg"

HOWEVER, if I edit the servicemenu and put in "jpegorient 90 %u" like I think I should, I still get the "couldn't find" error. I know it exists, and I know it's in the right place.

Can anyone offer advice?

TIA

2

Thursday, May 6th 2004, 6:24am

Re: jpegorient, KDE 3.2.2, and the service menu - Wrong Usag

Quoted

Original von shock_ez

But every time I try it on a jpeg, I get the error "couldn't find the program 'jpegorient +90 %u' (replace the +90 with whatever option I try).

It works here... even with the '+'.
What do you get if you enter
which jpegorient
on the command line?

If it's not found then your PATH variable doesn't contain the directory jpegorient is in (then add it to the path).
If it is then you might try to add the absolute path of the binary to the desktop file, e.g.
/usr/local/kde3/jpegorient +90 %u
(whatever location the which command gave you)

BTW: I just learnt something new ;-)
I didn't even know about that feature...

3

Thursday, May 6th 2004, 6:40am

Re: jpegorient, KDE 3.2.2, and the service menu - Wrong Usag

I had a look at jpegorient itself. It's not a binary but a shell script
that uses jpegtran.

Now there's another thing that you might want to check:
Do you have either jpegtran or jpegtran-mmx installed?

4

Thursday, May 6th 2004, 2:11pm

Re: jpegorient, KDE 3.2.2, and the service menu - Wrong Usag

Quoted

Original von cmbofh

I had a look at jpegorient itself. It's not a binary but a shell script
that uses jpegtran.

Now there's another thing that you might want to check:
Do you have either jpegtran or jpegtran-mmx installed?


I think this may be the case, that I don't have jpegtran installed somehow. I know that my PATH is set right, as jpegorient is in /opt/kde3/bin. When I try to use jpegorient from the command line by using jpegorient 90 filename.jpg I am told that the image couldn't be transformed. I think you're right, maybe I don't have those installed. I looked at the jpegorient script itself and if I remember correctly (I'm not at the KDE machine now) you get an error message like that if jpegtran isn't installed. I hope that's it!

5

Thursday, May 6th 2004, 11:09pm

Muchas Gracias...!

It worked!

Thanks!