PDA

View Full Version : Converting aRGB to sRGB (Scripts?)


defordphoto
12th of September 2004 (Sun), 10:59
Is there an easy way to covert MANY files from ARGB to SRGB? A script somewhere? I don't want to lose the originals, of course, but just convert them for the web.

I just want a down and dirty, one-click kinda thing to convert hundreds of files. TIA.

Scottes
12th of September 2004 (Sun), 12:08
Create an action that converts to sRGB, and then use File Browser to run that on a directory.

Umm.. That is, if you use PS....

maderito
12th of September 2004 (Sun), 15:18
You want the Action to cover all possibilities so that it won't stall or leave you with a bunch of opened but unprocessed files.

I assume want JPEG as your final file. You need these steps to cover 16/8 bit TIFFs as well as JPEGs - with or without multiple layers:

Action:
-flatten image
-convert to 8 bit mode
-convert to sRGB profile
-save as jpeg with quality 8-10, include ICC profile

Set up the batch process from the PS-CS browser automate menu:
Source: File Browser
Destination: folder of your choice
check:
-supress file open options dialogs
-supress color profile warnings
-override action "save as" commands

Needless to say - do a little testing first. :wink:

defordphoto
12th of September 2004 (Sun), 17:14
Thanks Woody! I should have known all this, but I don't work with scripts that often, but now I have one that will convert my ARGB jpegs to SRGB. Didn't need quite all those steps, but I have it working perfectly.

Thanks.

slejhamer
12th of September 2004 (Sun), 18:21
Not sure, but you might need to add a "file > close" command at the end of the action as described by Woody. Otherwise your images will remain open and performance will slow.

defordphoto
12th of September 2004 (Sun), 18:45
It worked fine with no open files left when complete. All I do is load the file, convert to SRGB, save.

Repeat and rinse.

It took awhile to do 700 photos, but it worked perfectly.

maderito
12th of September 2004 (Sun), 18:50
Not sure, but you might need to add a "file > close" command at the end of the action as described by Woody. Otherwise your images will remain open and performance will slow.
Right ... and knowing the scale of Jim's shooting, and the tetrabytes of RAM he probably has installed, he'd be up all month closing those files. :P