Copy link to clipboard
Copied
Hello,
It is impossible for me to know how to solve this problem and I do not know if it can be done.
Can I create an action where I can paste an image from another file to be used inside the mask of an adjustment layer and that can always automatically be adjusted when I use it in different images that have different sizes?
In this part of "automatically adjusting the mask to different sizes" of other files is where I have the problem, since all the action is executed correctly but the mask that creates me or does not fit well or leaves it strangely.
I have tried last resort to try to create Variables within the image menu but when I try to do it in an adjustment layer it no longer gives me the option to put insert an image inside the mask so I already think that this that I propose does not Lets do PS
Thank you very much in advance
Copy link to clipboard
Copied
Try this. After you past in the new image the layer will be to current active layer. Record Loading the layer pixels as a selection. Then select the adjustment layer with the mask you want changed. Delete the layer's Layer mask then click the add layer mask icon the active selection wlll be added as a layer mask.
It is difficult to deal with size in Actions, Scripting is better for dealing with size logic can be used.
Copy link to clipboard
Copied
Thank you very much for your reply!
I will try as soon as I can to see if this solution will tell you something so you know if it worked for me.
Thank you for your time, greetings!
Copy link to clipboard
Copied
Hello again JJMack
I have already been able to prove everything you said to me today and I have tried to make thousands of different combinations for the action and none continues without giving me result.
The problem I always have when in "step 4" I manually adjust the size of that image to fit the size of that canvas and I just record the action and this makes it in step 5 when I open a new image and I already execute the action, it generates a mask so strange.
I do not know if I still do not do any good steps but I know I'm almost to get it to work but PS is not able to adjust the image of the vignetting in different files and couple them to the mask layers adjustment.
I still do not know if something else can be tried. Thank you very much in advance.
Copy link to clipboard
Copied
As I noted it is difficult to deal with various sizes in Actions. Actions can not use logic to deal with sizes. Also if you resize an images and change its aspect ratio in the process you will distort the image. Photoshop Scripting is what you should use to deal with size. Actions have hard coded steps and interactive step you can adjust manually. You do not want interactive steps in batch actions they require user intervention. I have written some scripts for use in actions some can help deal with size. Howevet, Adobe has design in a bug is Phhotoshop scripting in CC 2015.5 and cc 2017 the break some of by scripts. I have to add garbage to document metadata infofield to bypass Adove bug in CC 2015.5 abd CC 2017.
Here are some Action guide lines, tips and scripts fou use ina action.
Crafting Actions Package UPDATED Aug 10, 2014 Added Conditional Action steps to Action Palette Tips.
Contains
Copy link to clipboard
Copied
Hello JJMack,
Again, I am very grateful for your interest in my problem. The truth that as you well say is complicated to be able to try to adjust the sizes of different files in the actions.
At least I'm more calm to know that in a way it was not something that was doing wrong but rather that is rather a small limitation that PS can not automatically solve.
I will try to check the actions he offers me to deal with sizes more easily.
A big greeting and thank you very much for your valuable time.
Copy link to clipboard
Copied
https://forums.adobe.com/people/federico+jesusr93952010 wrote
Hello JJMack,
Again, I am very grateful for your interest in my problem. The truth that as you well say is complicated to be able to try to adjust the sizes of different files in the actions.
At least I'm more calm to know that in a way it was not something that was doing wrong but rather that is rather a small limitation that PS can not automatically solve.
Nothing in this world I know of is automatically solve. There are some sure things like death any taxes. Many things can be automated but the automation process must be designed, developed, tooled and implemented. What you want to automate in Photoshop most like can be automate using the right features and tools in Photoshop. Photoshop automation is not limited to actions. Photoshop Scripting is much more powerful but is not easy as recording and editing Photoshop actions steps. Logic is programmed into scripts for the Photoshop steps used. Steps are not always hard coded one way they can vary to handle size.
Look at my Photoshop Photo Collage Toolkit scripts to see how sizing can be automated in Photoshop. Any size image can be used populating templates. However to work well images should have an aspect ratio that near the aspect ratio of the image area the image will be fitted to. The scripts will not distort images like Photoshop Adobe content aware resize. I do not like distortion. The scripts will resize the image to fill the template image area and mask off any excess. A virtual centered crop. Scripting is work but powerful.
Photo Collage Toolkit
Photoshop scripting is powerful and I believe this package demonstrates this A video showing a 5 image collage PSD template being populated with various size images: The image area in the template can be any size and shape,
The package includes four simple rules to follow when making Photo Collage Template PSD files so they will be compatible with my Photoshop scripts.
There are fifteen scripts in this package they provide the following functions:
Copy link to clipboard
Copied
Many thanks again for your reply JJMack.
I will take a look at your scrpit to see if with any one I can automate even more the change of sizes in the images;)
A cordial greeting!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now