LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-27-2006, 12:17 PM   #1
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 522

Rep: Reputation: 31
how to rotate an image (clockwise for example)?


Hi!
How is it possible to change an image's attribute to have it shown vertical intead of horitontal for example?
Thanks.
 
Old 02-27-2006, 12:43 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by xpucto
Hi!
How is it possible to change an image's attribute to have it shown vertical intead of horitontal for example?
Thanks.
Not sure how this applies to Linux????

Any photo editor will have a tool for rotating an image. What system are you on--what kind of editor is installed, etc.? (Most Linux distro include some kind of simple editor--and many includ gimp.
 
Old 02-27-2006, 12:45 PM   #3
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 522

Original Poster
Rep: Reputation: 31
In Windows you just can adjust it direkt with the mouse. I can't open an editor for each picture! It must have a kore simple way.
 
Old 02-27-2006, 12:52 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by xpucto
In Windows you just can adjust it direkt with the mouse. I can't open an editor for each picture! It must have a kore simple way.
adjust with the mouse---using what program??
Photo editors often have batch commands for thing like rotating---eg ACDSee has this.
I do not know what the features are of all the Linux editors.....

If you are dealing with just one file format, it should not be terribly difficult to write a shell script to batch-process many files.
 
Old 02-27-2006, 12:53 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
PS
Have you "Googled" for---eg---jpeg utilities?
 
Old 02-27-2006, 01:16 PM   #6
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 522

Original Poster
Rep: Reputation: 31
found jpegtran but the version that I found doesn't work.
 
Old 02-27-2006, 01:30 PM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by xpucto
found jpegtran but the version that I found doesn't work.
Is it a Windows or Linux app?
In what way does it not work?
 
Old 02-27-2006, 01:36 PM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
On Google, I got a lot of interesting hits using "jpeg batch process rotate linux"
 
Old 02-27-2006, 02:15 PM   #9
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 522

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by pixellany
Is it a Windows or Linux app?
In what way does it not work?
Linux app of course! When I try to rotate the picture, the programm delivers many error messages. Like this:
Quote:
112;112;1;0x1;2c1;2c;1;112;112;1;0x;1;112;112;1;0x;1;112;112;1;0x1;2c1;2c1;2c;1;112;112;1;0x;1;112;1 12;1;0x1;2c;1;112;112;1;0x1;2c1;2c;1;112;112;1;0xq*G6+l&y-2b&VV
bash: 1: command not found~x.&W$vz迳#3K'vFZLF i&#7lճh#
bash: 2c1: command not found{VӯXRiT,=V6TG2°OJ=▒o{RdVmŮnwpBVobash: 2c1: command not found? WrsCM5r_BbXH##)9sI$Ƣ|<▒]@u!Gmubash: 2c1: command not found
bash: 2c1: command not found
bash: 2c1: command not found?▒yfBF÷i-O&aŠ$ܩyS:]n
bash: 2c1: command not found 2&{ 09Vž]W
bash: 2c: command not foundz`himv\'&žmKֺ2[[Y]@$0$\N-jv6Œ0Œ,!tn=
bash: 1: command not found@Q^JX1
bash: 112: command not found @'
bash: 112: command not found| p]@iVŠ)qq
bash: 1: command not foundgxc^.-=RI[̲8k.1zBIŠh:n>3+\@€$,s-bash: 0x1: command not found)šX+]
bash: 2c1: command not found
bash: 2c: command not found+
bash: 1: command not found(aI}A07yABœJmYI1FJqgN]g6[ͰẔbash: 112: command not found€œl2tPŒ"8?5Z cŒ`f9|L{TZvQŒv7 ),8#'pwds▒bash: 112: command not found
bash: 1: command not foundH.46-ŠcEYškšks&-GžNGxZ]C5
bash: 0x: command not found[eŠ|up_4]yOtku
bash: 1: command not found
bash: 112: command not found wV,.*%#>hu#▒xhh!ažu▒'}F€;bash: 112: command not foundt)x]yuC*Ukh%]<o> ?hVVž\O22?*#▒%8BH;HObash: 1: command not foundzŒ*c,K}B]2|Œ )$XœVH58RtG |'T2ڲ[jc}bash: 0x: command not found
bash: 1: command not foundž▒aqf€rGG3umx6I<ӡ7=;NOjAy*Nqar~YXbash: 112: command not found
bash: 112: command not foundF]pE;P?}
bash: 1: command not found
bash: 0x1: command not found
bash: 2c1: command not found
bash: 2c1: command not found
bash: 2c: command not found
bash: 1: command not found
bash: 112: command not found
bash: 112: command not found
bash: 1: command not found
bash: 0x: command not found
bash: 1: command not found
bash: 112: command not found
bash: 112: command not found
bash: 1: command not found
bash: 0x1: command not found
bash: 2c: command not found
bash: 1: command not found
bash: 112: command not found
bash: 112: command not found
bash: 1: command not found
bash: 0x1: command not found
bash: 2c1: command not found
bash: 2c: command not found
bash: 1: command not found
bash: 112: command not found
bash: 112: command not found
bash: 1: command not found
bash: 0xq: command not found
I found the programm gwenview thanks to your google hit. I'll try it. With windows you can rotate y picture with explorer but with linux you can't do it with konqueror. Sad!

I'll tell you how works this gwenview though.

Last edited by xpucto; 02-27-2006 at 02:30 PM.
 
Old 02-27-2006, 02:41 PM   #10
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 522

Original Poster
Rep: Reputation: 31
Ok. I found GQview. Just what I wanted! Thanks.
 
Old 02-27-2006, 02:50 PM   #11
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 522

Original Poster
Rep: Reputation: 31
Well, actually not! I need something that change the value of the rotation With this viewer, if I do refresh, the image regains its original position.
 
Old 02-27-2006, 03:20 PM   #12
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 522

Original Poster
Rep: Reputation: 31
I found the command line convert -rotate but the size isn't automatically adjusted.
 
Old 02-28-2006, 12:19 PM   #13
alaithea
LQ Newbie
 
Registered: Jun 2005
Posts: 7

Rep: Reputation: 0
I don't know if you're on Gnome or KDE. For Gnome, try gThumb. A similar app on KDE (or so I've read) is KuickShow.

Last edited by alaithea; 02-28-2006 at 12:21 PM.
 
Old 02-28-2006, 12:26 PM   #14
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Gimp will do the job, Gimp can do ANYTHING!! you probably already have it too
 
Old 02-28-2006, 02:33 PM   #15
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,425

Rep: Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159
For bulk processing of images I have had excellent results with ImageMagick. It's free and open-source, runs on Windows or Linux or OS/X, and delivers good results on all of them.

One of the nice features of it is that you can issue command-line commands (or use them in a script). So, if you have about 11,000 images that you want to "intelligently" .. say, resize to no larger than 640x480 (retaining proportions), and reduce to no more than 256 colors, and convert to a JPEG with a preview and a "Do Not Copy This" over-stamp ... you can do it, basically in one step.

I used it with great success on a recent Windows project, which had just been jack-hammered by the vulnerabilities in GDI+.DLL...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
lastlog - What is it, and how do I rotate it? ifm Linux - Newbie 9 04-22-2011 10:45 AM
rotate text bizshop Linux - Software 1 06-22-2005 06:17 PM
how do I rotate the syslog jonsag Linux - Newbie 3 12-19-2004 03:33 PM
Log Rotate MaverickApollo Linux - Software 3 01-19-2004 01:12 AM
GIMP - Rotate image arbitrarily Micro420 Linux - Software 2 11-03-2003 03:52 AM


All times are GMT -5. The time now is 09:07 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration