Now the Export Module has disappeared, how do I convert a thousand goals as JPEGS (but only where they do not already exist)?

I need to create files JPEG of hair in a few hundred subfolders.  They need to save in the same place as their original TIF and skip record if the jpeg already exists.

A walk in the Park by using the defunct export Module.  I spent an hour studying how do I do this now, it is gone and I can't for the life of me get by.

I investigated the Photoshop Image Processor and batch - not only it would be incredibly slow, as it is open each file in photoshop and then save again, there is no option to skip the file if it already has a saved jpeg file.  In fact, worse still, it just seems to add a "_1" on the end of the file it creates eventually give me hundreds of duplicates.

Anyone knows how is to take about it?

Dan

You can do this with a script.

For example this will convert all tif to jpg files in the current folder if they do not exist.

#target bridge;
if( BridgeTalk.appName == "bridge" ) {
    tif2jpg = MenuElement.create("command", "Convert TIF to JPG", "at the end of Tools");
}
tif2jpg.onSelect = function (){
app.document.deselectAll();
var sels = app.document.getSelection("tif");
for(var z  in sels){
var Thumb1 = new Thumbnail(sels[z]);
var jpgName = Thumb1.spec.toString().replace(/tif$/i, "jpg");
if(File(jpgName).exists) continue;
app.synchronousMode = true;
bm = Thumb1.core.fullsize.fullsize;
app.synchronousMode = false;
if(bm.width != undefined) {
bm = bm.rotate(Thumb1.spec.rotation);
bm.exportTo(new File(jpgName),100);
    }
    }
};

Tags: Bridge

Similar Questions

Maybe you are looking for