In that case, keep only step to change resolution and add conditional step to run action with single step to change either width or height depend on orientation of your image. If you have mixed orientation then you must record one more action which will be triggered by conditional step if image is vertical orientation. That is it, it will work with assumption mentioned above. If you have all images landscape then simply record additional step with Resample turned on and change Width to 12in. I am assuming that all your images are actually larger of what you need because (probably) you set print dimensions to 12 x 8 in what caused resolution to increase or you have missed point in resolution that it matters a lot when working with physical size not pixel dimensions. Do you have images with Resoltion greater than 300ppi? In that case you need to record additional step in action to change print dimensions on longer side to 12in what will automatically set smaller side to 8in. It seems I missed to understand your problem. Set nw to (word 2 of paragraph 2 of pd as real) * sĭo shell script ("sips -resampleWidth " & nw & " " & thepath & " ")ĭo shell script ("sips -s dpiHeight " & theres & " -s dpiWidth " & theres & " " & thepath & " ") Set pd to do shell script ("sips -g pixelWidth " & thepath & " ") Set cr to word 2 of paragraph 2 of r as real Set r to do shell script ("sips -g dpiWidth " & thepath & " ") Set thepath to quoted form of POSIX path of (f & n as string) Set f to (choose folder with prompt "Select folder with images") Resamples images in the selected folder to 300ppi via sips You might try this AppleScript, it resamples the images in a selected folder to 300ppi. On OSX you can use shell scripts for basic image manipulation, which should be faster than batching in Photoshop because the files don’t have to open.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |