SFW Optimize Menu … hmm… ahhhh this tiny arrow there? Cool, I see this Menu to the first time. Maybe this is recordable into a action. I will give it a try.
As I understand this option, it chances the pixel-size of the picture until it fits the file size limit. Right? Or does it change the quality, too?
It only changes the JPEG compression (quality). If you have a pixel size target, you can record that as well. Congrats on finding the menu, it is pretty hidden. 😉
Wait. Now that I’m thinking about it… there might be a problem doing it this way. I can’t remember if it is the target file size, or the JPEG quality number that is recorded in the Action. If it the compression number, this method will not be consistent. I’m not at my PS computer to check right now.
Yeah, I just checked. An Action records the compression amount that the Optimize File Size chooses, not the target file size. Sorry for bad info. Script, maybe.
I’ve never used this (first hit on a quick Google search) , but an inexpensive plugin might do what Photoshop should be able to do. <http://www.boxtopsoft.com/projpeg.html>