Copy link to clipboard
Copied
Hi All!
Relative newbie here -
I have a collection of art prints in various aspect ratios which I'd like to add a white border around.. I have tried two different methods but I haven't been able to successfully export files as .png
I have created a new set in the Actions Panel and my action consists of increasing the canvas size by 15% and I have a backgound extension color creating the frame around the image.
First, I tried selecting Automate > Batch to apply these changes to my folder consisting of all the prints, but for some reason, the extended canvas space shows up transparent and not as the color selected (I am trying to save as .png and this might be why). Is there a way for me to save as .png and have the extended background color appear?
When I try another method (selecting Scripts > Image Processor) I am able to have the extended background color of the canvas appear but I can only save as jpeg (not .png). Is there a workaround within the Image Processor to have the files save as .png or will I have to save as .psd and create another Action to export as .png?
Ideally I'd like to maintain the .png format and figure out how to batch out multiple images of various aspect ratios with the border.
I've got the most up to date version of Photoshop just FYI..
I hope I explained this clearly.
Thank you all!!!
 
Copy link to clipboard
Copied
Is there a way for me to save as .png and have the extended background color appear?
If a single floating layer, try flattening the PNG before extending the background.
When I try another method (selecting Scripts > Image Processor) I am able to have the extended background color of the canvas appear but I can only save as jpeg (not .png). Is there a workaround within the Image Processor to have the files save as .png or will I have to save as .psd and create another Action to export as .png?
By @Pixel Lake
The official Image Processor script didn't include PNG.
A custom extension of the script by the late Mike Hale is available here:
Copy link to clipboard
Copied
Thank you so much, Stephen!
Flattening the layer certianly allowed the background to appear, but I encountered something odd..
In the attached image, you'll see I received an error message for every file which I selected continue and appeared to yield my desired result.. Just wondering if you might know why I received this and what I might be able to do to avoid clicking "Continue" for every image?
Thanks again!
Copy link to clipboard
Copied
The screenshot indicates that the action is expecting to select the Background layer as the first step, however, the current file state does not contain such a layer. Take a look at the layer name in the layers panel. Does this name vary among the various files? Untick to disable or remove this first step if the next step of flattening is sufficient without explicitly selecting a layer.
Copy link to clipboard
Copied
The "Background" Layer was named that when I clicked and dragged my file into PS.
When I Open the file in PS, it's labeled "Layer 1"..
I've never known that before - thanks for bringing that to my attention!
I unchecked the "Set Background" Action and the Batching has worked properly without the error message occurring..
You really are an expert, Stephen.
Thank you!!
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more