I saw a program yesterday that launched Photoshop, told photoshop what images to load out of a folder based on variables, cut out a simple background based on a color range, apply a new background based on variables as well as some other images, all based on the images loaded or variables passed to photoshop some how, then saved the end result as a JPG in another folder. Is this a function of Photoshop and if so where can I read about how to do this....

Batch Automation

I saw a program yesterday that launched Photoshop, told photoshop what images to load out of a folder based on variables, cut out a simple background based on a color range, apply a new background based on variables as well as some other images, all based on the images loaded or variables passed to photoshop some how, then saved the end result as a JPG in another folder. Is this a function of Photoshop and if so where can I read about how to do this.

Re: Batch Automation

Re: Batch Automation

no. if you want to use variables you need scripting and or the sdk (depending on how deep you want to go). the scripting plugin is available for free from the download area. the sdk is only availble to members of a cult:

Re: Batch Automation

Batch Automation

I am creating a catalog in Framemaker, and as part of the database import, I run a batch in Photoshop to re-size all the images in a directory to 100px wide. The unfortunate problem is that if the images are smaller than 100px, it enlarges them, thus losing clarity. This I don't want.

Does anyone know how to run a batch that checks the sizes and doesn't enlarge images if they are smaller than a given size?

Re: Batch Automation

I'm not an actions expert, so I'm not sure, but I don't think comparisons like this are possible.

Is it possible that your DB can store/acquire the width and height values for the image, and then you could have two actions ... one to reduce the big pix, and a second one to enlarge the canvas on the small ones to 100px (if that is needed).