Photoshop preferences
Is there a way or script to change items in photoshop preferences.
Is there a way or script to change items in photoshop preferences.
@ jazzy-y The script works fine, but I would like if changes were possible When I open the photo in camera raw and apply super resolution it saves me the photo in dng. This is not good for me I would like you to save me the jpg at the highest quality and not the dng. I hope you can help me
see Improve image quality using Camera Raw
According to the description of this function, the result is stored only in DNG. That is, after applying the function, you need to re-open the file with the same name, but with a DNG extension, and save it as a JPG. Something like that:
var myFile = (new File()).openDlg();
try {
(d = new ActionDescriptor()).putPath(stringIDToTypeID('null'), myFile);
d.putBoolean(stringIDToTypeID('overrideOpen'), true);
var d1 = new ActionDescriptor();
d.putObject(stringIDToTypeID('as'), stringIDToTypeID('Adobe Camera Raw'), d1);
executeAction(stringIDToTypeID('open'), d, DialogModes.ALL);
} catch (e) { }
var dngName = new RegExp(encodeURI(decodeURI(myFile.name).replace(/\.[0-9a-z]+$/, '')) + '.+?\.dng', 'i'),
dngFile = (Folder(myFile.path)).getFiles(dngName);
if (dngFile.length) {
app.open(dngFile[0])
activeDocument.saveAs(File(dngFile[0]), function () { var o = new JPEGSaveOptions; o.quality = 12; return o }())
activeDocument.close()
dngFile[0].remove()
}
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.