

| Sign in: |
| Members log in here with your user name and password to access the your admin page and other special features. |
|
|
|

|
|| SportsShooter.com: Member Message Board

Lossless JPEG rotation
 
Monty Rand, Photographer
 |
Bangor | ME | USA | Posted: 8:35 AM on 04.19.03 |
| ->> Anybody know of a program for OS X that does Lossless JPEG rotation. I'm looking for a quick way to rotate hundreds of images from events. Thanks. |
|
 
Neil Brake, Photographer
 |
Nashville | TN | USA | Posted: 8:47 AM on 04.19.03 |
->> Monty,
PhotoMechanics Pro, but make sure you get the OSx version. |
|
 
Michael J. Treola, Photographer
 |
Neptune | NJ | USA | Posted: 8:51 AM on 04.19.03 |
->> Monty
Photo Mechanic Pro does it, all you do is select all images, or just the images you want to rotate and rotate them. You can also bulk move to each photo IPTC data if you like, bulk rename and a bunch of other cool stuff. It’s the best browser I've ever used.
You can check out the program here. http://www.camerabits.com/PM3.html
Mike |
|
 
David G. McIntyre, Photographer
 |
Hong Kong | ** | China | Posted: 11:36 AM on 04.19.03 |
| ->> Photo Mechanic is great and also the Canon Image Browser program that comes with the Canon digital camras, or can be downloaded from their website. |
|
 
Michael Zito, Photographer
 |
West Hills | CA | USA | Posted: 11:39 AM on 04.19.03 |
->> In photoshop 7 go to file browser,choose the folder your images are in select the images you want (or all) then go back to file browseer and rotate, click yes then export cache.(all this takes seconds no matter how many images you have) this will rotate your images so when you open them up in photoshop vertical shots will be vertical.
If all you want to do is be able to view vertcal images correctly for editing then in photo mechanic -select all, then rotate.This does not actually rotate the jpeg if you open it up in photoshop. |
|
 
Delane Rouse, Photographer
 |
Philadelphia | PA | US | Posted: 1:06 PM on 04.19.03 |
->> None of those programs do a lossless ratation, they just rotate the thumbnail. Try graphic converter:
http://www.versiontracker.com/dyn/moreinfo/macosx/11559
For a LOSSLESS rotation, lthough it's NOT the fastest process! The new version may allow you to multitask, but the older version was a memory hog during the process. |
|
 
Brian Jackson, Photographer, Student/Intern
 |
South San Francisco | CA | USA | Posted: 1:45 PM on 04.19.03 |
->> Since your on OSX which is derived from UNIX, you can use 'jpegtran'. Fast, lossless, efficient and scriptable(let it work in the background :)
goto whatever directory you have the images in.
for i in *jpg
do
jpegtran -rotate 270 -copy all $i > $i.r && mv $i.r $i
done
I just rotated 148 images averaging 1.5mb each on a P4 1.7Ghz in 1 minute 50 seconds. The '-copy all' preserves the header information |
|
 
Delane Rouse, Photographer
 |
Philadelphia | PA | US | Posted: 1:57 PM on 04.19.03 |
->> Brian...the problem withthat is that you'll have to sort the horizontal photos from the bertical photos BEFORE you run jpegtran. However, I like the idea...but probalb ynot practical for what Monty wants to do. (Events, LOTS of images in a short time while customers are waiting to look at the pictures)
Monty...correct me if I'm wrong.... |
|
 
Delane Rouse, Photographer
 |
Philadelphia | PA | US | Posted: 2:06 PM on 04.19.03 |
| ->> Brain...I just did a "man jpegtran" and nothing was returned to me...where is the code and do I need to compile it? |
|
 
Brian Jackson, Photographer, Student/Intern
 |
South San Francisco | CA | USA | Posted: 4:55 PM on 04.19.03 |
->> Since OSX is based on UNIX a lot of the tools for Linux will work if they're simple enough. All you need is gcc and you're good to go.
RAW conversions on UNIX: http://www2.primushost.com/~dcoffin/powershot/
ImageMagick (think of it as scriptable photoshop): http://www.imagemagick.org/
jpegtran: http://www.ben.com/jpeg/
MAN page: http://www-ag-mayer.informatik.uni-kl.de/cgi-bin/doman?jpegtran
JPEG group homepage: http://www.ijg.org/
Goodies for OSX 10.2: http://www.serverlogistics.com/downloads-x11.php
Yes, you do need to figure out which ones to rotate which way first.
Before I wrote my own workflow software(Perl/TK), I used a couple of simple CGI's to process images. 1 script to delete, one to move to a 'dont_process' directory and 1 to store the image name in a file: counterclockwise, closkwise and flip. After each button is pressed, it would move onto the next image. Oh, I also have a script that would run through each image and create a webpage with all the buttons on it(needed before any of the processing is done :)
After all the images have been 'processed', I would read each of the files(counterclockwise, closkwise and flip) and rotate each image depending on which file they were in. Another script to rename, another to resize, watermark and copyright, another to create web pages for the site. My Perl/TK program basically put a nice GUI on all those scripts and did things in parrallel as opposed to batch after ALL the images have been looked at.
I also have an event photography company and that's why I wrote the software. Easy methods for copying files from CF cards, creating directories for storage, whipping through the images and creating webpages for display/sale.
BTW, I did take an 8 year hiatus from photography to be a UNIX sysadmin/Perl programmer/database administrator. Now that I'm back in photography, it's weird how both of my careers have joined paths :)
I also have scripts that troll down through directories of all sorts of image types and shrink them down, keeping the directory/folder paths intact, for submission to the US Copyright office. |
|
 
Michael Zito, Photographer
 |
West Hills | CA | USA | Posted: 6:31 PM on 04.19.03 |
| ->> Guys, Too much work. If you are using Photoshop 7, In PS7 go to the" file browser" choose the folder your images are in then select images, back to the file browser, "rotate", then "export cache" and all your IMAGES will be rotated! not just the thumbnails. |
|
 
Monty Rand, Photographer
 |
Bangor | ME | USA | Posted: 7:23 PM on 04.19.03 |
->> OK, what I need is this.
First I want to be able to rename files, hundreds of them. My camera with give me a filename like FDAB1234. I need to be able to select all the images and change the FDAB to myteam1234. I want to replace the FDAB with whatever name I need to give it. Photomechanic which I have doesn't do this or at least I can't figure out how to tell it to remove the FDAB and replace it with what I want.
Second, I use a MAC. I also use Photoreflect to upload my images to their website using VPC 6.0. When I take all the I need to find a way to rotate them. I can do it in PM, but they are only rotated in PM and not in PS when I open them. I can rotate them before I upload them using Photoreflect software, but it's very, very slow. I would prefe to have them rotated before I get them to the Photoreflect software. I appreciate any input. |
|
 
Monty Rand, Photographer
 |
Bangor | ME | USA | Posted: 7:25 PM on 04.19.03 |
| ->> BTW, when I shoot my events, I shoot in RAW and also have a JPEG so I essentailly have 2 files to rename. With the 10D it looks like I'll only need to rename the RAW file. I don't have time at events to rotate the RAW files and then extract JPEGS from them all. |
|
 
Monty Rand, Photographer
 |
Bangor | ME | USA | Posted: 7:29 PM on 04.19.03 |
->> While at events, PM does a great job of a fast rotation, but it 's when I get back and need to upoad that I need something that can show me the images and allow me to rotate them, but save the rotation so that when I open them up using PS they are rotated.
Make sense? I know everyone has different needs and PM will handle most. I'll try a few of the option mentioned above. I was hoping PS would have this option when you use their image browser, but like all the others it doesn't make the change to the file when it's opened in PS. |
|
 
Monty Rand, Photographer
 |
Bangor | ME | USA | Posted: 8:26 PM on 04.19.03 |
->> "Guys, Too much work. If you are using Photoshop 7, In PS7 go to the" file browser" choose the folder your images are in then select images, back to the file browser, "rotate", then "export cache" and all your IMAGES will be rotated! not just the thumbnails."
I thought I had tried that once it didn't work, but hey I'll give it a shot. Thanks. |
|
 
Monty Rand, Photographer
 |
Bangor | ME | USA | Posted: 8:51 PM on 04.19.03 |
| ->> OK, the PS thing works. I exported the cache on a tif file I rotated and it opened rotated. Great. No if I cabn get these files re-named I'll be happy. Well, not really. My golf game sucks, but maybe after that. Well not really, maybe after............. |
|
 
Michael Zito, Photographer
 |
West Hills | CA | USA | Posted: 9:45 PM on 04.19.03 |
->> In Photo Mechanic - Command M renames file name. Hold down shift to select multiple, Apple M remane click sequence apply to selected. all you have chosen are renamed.
Command I renames the Object Name in the ITCP pad. same way hold down shift, apple I type in object name.
You can set a generic IPTC with all fields that will remain the same.(leave object name blank) and appliy to selected. |
|
 
Monty Rand, Photographer
 |
Bangor | ME | USA | Posted: 10:34 PM on 04.19.03 |
| ->> I cannot seem to make PM rename the files if the way that I need. I need to rename part of the existing name to something else. Am I missing this????? |
|


Return to --> Message Board Main Index
|