LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to rotate an image (clockwise for example)? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-rotate-an-image-clockwise-for-example-420078/)

xpucto 02-27-2006 11:17 AM

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.

pixellany 02-27-2006 11:43 AM

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.

xpucto 02-27-2006 11:45 AM

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.

pixellany 02-27-2006 11:52 AM

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.

pixellany 02-27-2006 11:53 AM

PS
Have you "Googled" for---eg---jpeg utilities?

xpucto 02-27-2006 12:16 PM

found jpegtran but the version that I found doesn't work.

pixellany 02-27-2006 12:30 PM

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?

pixellany 02-27-2006 12:36 PM

On Google, I got a lot of interesting hits using "jpeg batch process rotate linux"

xpucto 02-27-2006 01:15 PM

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.

xpucto 02-27-2006 01:41 PM

Ok. I found GQview. Just what I wanted! Thanks.

xpucto 02-27-2006 01:50 PM

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.

xpucto 02-27-2006 02:20 PM

I found the command line convert -rotate but the size isn't automatically adjusted.

alaithea 02-28-2006 11:19 AM

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.

ethics 02-28-2006 11:26 AM

Gimp will do the job, Gimp can do ANYTHING!! you probably already have it too

sundialsvcs 02-28-2006 01:33 PM

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...


All times are GMT -5. The time now is 08:40 AM.