AusGamers Forums
Show: per page
1
mass flipping of .jpg's Program ?
FaceMan
Brisbane, Queensland
353 posts
Ive got around 24 images i want to rotate.
Is there a program that can do them all in one action.
Like a batch command ?
12:59am 15/01/09 Permalink
adBot
ads
Internet
--
ads keep websites free
12:59am 15/01/09 Permalink
Eds
Brisbane, Queensland
8670 posts
ACDsee
01:13am 15/01/09 Permalink
sleepy
Sunshine Coast, Queensland
774 posts
NA NA NA NA NA NANA!!!
01:16am 15/01/09 Permalink
Tremble
Brisbane, Queensland
14 posts
irfanview can also do this.
01:23am 15/01/09 Permalink
parabol
Brisbane, Queensland
5100 posts
ACDsee

lol what a joke.

Irfanview ftw.
01:25am 15/01/09 Permalink
Insom
Brisbane, Queensland
2755 posts
i use "rota"

does the lossless jpeg rotate which is handy
01:26am 15/01/09 Permalink
Raven
Melbourne, Victoria
3250 posts
Photoshop. Corel Script. Whatever. Most decent apps will have a 'batch' function of some kind.
08:07am 15/01/09 Permalink
Pinky
Melbourne, Victoria
378 posts
ImageMagick ftw

Once upon a time I would write a decent batch file with a loop - but now I use the lazy method (assume Windows):

1. Do a 'dir' into a file:
c:\directory\>dir *.jpg > file.txt
2. Edit the file with a text-editor with column-editing ability (e.g., Ultra-edit)
3. Enable column editing and delete all the crap from file.txt so you just have the filenames
4. Select before every row and type the command to rotate before all the filenames:
convert -rotate 180
5. Rename file file.bat and run it

Anyone that does it any other way is doing it wrong. Amen.

09:25am 15/01/09 Permalink
Nathan
Canberra, Australian Capital Territory
3063 posts
ImageMagick +1 , its entire purpose is tasks like that.
09:31am 15/01/09 Permalink
TicMan
Melbourne, Victoria
4040 posts
c:\directory\>dir *.jpg > file.txt
2. Edit the file with a text-editor with column-editing ability (e.g., Ultra-edit)
3. Enable column editing and delete all the crap from file.txt so you just have the filenames


Or use "dir /b *.jpg > file.txt" and save 2 steps!@
09:56am 15/01/09 Permalink
trog
AGN Admin
Brisbane, Queensland
25847 posts
you can sort of do it in one line like:

for %a in (*.jpg) do convert.exe -rotate 180 %a %a-2.jpg

The problem with that is you'll end up with filenames like "image0001.jpg-2.jpg" which sucks. A quick Google indicates you might be able to do it properly though if you RTFM.
10:51am 15/01/09 Permalink
thermite
Brisbane, Queensland
772 posts
I have a tool on my site to do this. It uses ImageMagick and PHP GD to do it's thing though so you may as well just go straight for ImageMagick.
11:05am 15/01/09 Permalink
Pinky
Melbourne, Victoria
382 posts
for %a in (*.jpg) do convert.exe -rotate 180 %a %a-2.jpg

I used to Google and work out how to write loops like this. Then I realised that it's much much quicker to use a column editor and do it the simple way without any research. The reason is because you do it so little you just forget batch/shell syntax and always have to look it up.
11:21am 15/01/09 Permalink
trog
AGN Admin
Brisbane, Queensland
25848 posts
for %a in (*.jpg) do convert.exe -rotate 180 %a %a-2.jpg
I used to Google and work out how to write loops like this. Then I realised that it's much much quicker to use a column editor and do it the simple way without any research. The reason is because you do it so little you just forget batch/shell syntax and always have to look it up.
Yeh, I'd use Irfanview for things like this without a second thought
12:02pm 15/01/09 Permalink
Persay
Brisbane, Queensland
5413 posts
I reckon in the time you spent typing this thread and waiting for replies, you could have easily rotated them all manually.
03:55pm 15/01/09 Permalink
thermite
Brisbane, Queensland
779 posts
x > 1
04:05pm 15/01/09 Permalink
FaceMan
Brisbane, Queensland
357 posts
Been playing around with photosynth.
trying to create a 3d rotational image from a 2d image.
04:07pm 15/01/09 Permalink
mooby
Brisbane, Queensland
4488 posts
photosynth should pick up the rotation.
04:26pm 15/01/09 Permalink
tequila
Sydney, New South Wales
577 posts
# mogrify -rotate 90 *.jpg

^ imagemagick on linux / bsd etc
04:32pm 15/01/09 Permalink
mission
Brisbane, Queensland
4545 posts
I reckon in the time you spent typing this thread and waiting for replies, you could have easily rotated them all manually.


Exactly what my response was going to be. 24 isn't that many.
04:34pm 15/01/09 Permalink
FaceMan
Brisbane, Queensland
358 posts
I actually used the 24 part images unrotated and used 4 full image pics 3 rotated.

I cant get the image to sit like as a floor and rotate it.
it only shows as like a Wall.

Any Photosynth users here ?
are there additional viewing controls other than the 6 shown in the top right hand corner ?

Its a real pain that you have to upload the pics before you can see it.
Takes so long with our crap upload speeds.

last edited by FaceMan at 16:56:02 15/Jan/09
04:54pm 15/01/09 Permalink
adBot
ads
Internet
--
ads keep websites free
04:54pm 15/01/09 Permalink
AusGamers Forums
Show: per page
1
This thread is archived and cannot be replied to.
 

Advertise with Us | Download Media Kit | Privacy Policy | Contact Us
© Copyright 2001-2013 AusGamers™ Pty Ltd. ACN 093 772 242.
A Mammoth Media web development, hosted by Mammoth VPS.