Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I use Photoshop to batch convert my RAW files to JPG.

With my particular camera lens, if I open the aperture all the way to F1.7, there is noticeable vignetting; images where the aperture is stopped down further do not have this issue. Since the aperture information is stored in the EXIF data, what I'd like to do is have Photoshop batch process all my RAW files, and anything that is at F1.7 should automatically have vignette correction applied to it, but not on the others (applying correction to the others would over-brighten the corners of the image).

Is anything like this possible using Photoshop? They are RW2 files from a Panasonic GF1 camera.

share|improve this question

3 Answers 3

up vote 3 down vote accepted
+100

You should be able to script this in Photoshop. For more info, see my answer to the following question: http://superuser.com/questions/90261/photoshop-batch-resizing-for-web/90334#90334

share|improve this answer
    
Yep; has to be scripted if you want to use conditional logic. –  Hasaan Chop Mar 24 '10 at 3:46
    
Cool, didn't know about scripting, that might work out. –  davr Mar 24 '10 at 5:25
    
It looks pretty tricky, will have to decode lots of stuff to figure it out, but seems like my best bet –  davr Mar 30 '10 at 19:21

What operating system are you using? It's probably possible to do what you want with an external scripting tool, such as AppleScript, but that's obviously OS-dependent.

share|improve this answer
    
Windows. Photoshop supports JavaScript scripting on both Mac and Windwos, according to the other guy that posted. It's not real easy, and it looks like I have to decipher lots of obscure commands to make it work, but it might be possible. –  davr Mar 25 '10 at 15:44

To answer your last question:

Should I use some other RAW processing tool instead?

Imagemagick has a Windows build and is very, very scriptable. It generally reads everything, but it may not read that particular flavor of RAW files. DCRAW is the first Linux tool I thought of that decodes RAW files; there are third-party Windows builds (and that page links to a lot of Windows tools that handle RAW; ironically, Photoshop is one of them.)

Hope this helps. Imagemagick was built to be scriptable (at least on Linux) so it's probably going to be slightly easier than figuring out a javascript API.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.