Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Automatically adjust with an action size in fit mask

New Here ,
Aug 18, 2017 Aug 18, 2017

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

2.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Aug 18, 2017 Aug 18, 2017

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.

JJMack
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 18, 2017 Aug 18, 2017

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!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 21, 2017 Aug 21, 2017

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.

STEP 1.jpgSTEP 2.jpgSTEP 3.jpgSTEP 4.jpgSTEP 5.jpg

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 21, 2017 Aug 21, 2017

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

Example
Download

JJMack
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 22, 2017 Aug 22, 2017

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 22, 2017 Aug 22, 2017

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.

  1. Size the photo collage templates for the print size you want - width, height and print DPI resolution.
  2. Photo collage templates must have a Photoshop background layer. The contents of this layer can be anything.
  3. Photo collage templates must have alpha channels named "Image 1", "Image 2", ... "Image n".
  4. Photo collage templates layers above the background layers must provide transparent areas to let the images that will be placed below them show through.

There are fifteen scripts in this package they provide the following functions:

  1. HelpPhotoCollageToolkit.jsx - Online Help
  2. TestCollageTemplate.jsx - Used to test a Photo Collage Template while you are making it with Photoshop.
  3. CollageTemplateBuilder.jsx - Can build Templates compatible with this toolkit's scripts.
  4. LayerToAlphaChan.jsx - Used to convert a Prototype Image Layer stack into a template document.
  5. InteractivePopulateCollage.jsx - Used to interactively populate Any Photo Collage template. Offers most user control inserting pictures and text.
  6. ReplaceCollageImage.jsx - use to replace a populated collage image Smart Object layer with an other image correctly resized and positioned.
  7. ChangeTextSize.jsx - This script can be used to change Image stamps text size when the size used by the populating did not work well.
  8. PopulateCollageTemplate.jsx - Used to Automatically populate a Photo Collage template and leave the populated copy open in Photoshop.
  9. BatchOneImageCollage.jsx - Used to Automatically Batch Populate Collage templates that only have one image inserted. The Collage or Image may be stamped with text.
  10. BatchMultiImageCollage.jsx - Used to Automatically Batch Populate Any Photo Collage template with images in a source image folder. Easier to use than the interactive script. Saved collages can be tweaked.
  11. PasteImageRoll.jsx - Paste Images into a document to be print on roll paper.
  12. BatchPicturePackage.jsx - Used to Automatically Batch Populate Any Photo Collage template with an image in a source image folder.  Images Rotates for best fit.
  13. BatchPicturePackageNoRotate.jsx - Used to Automatically Batch Populate Any Photo Collage template with an image in a source image folder.
  14. PopulatePicturePackage.jsx - Used to Automatically populate a Photo Collage template Fill with the same single image and leave the populated copy open in Photoshop.
  15. PCTpreferences.jsx - Edit This File to Customize Collage Populating scripts default setting and add your own Layer styles.

Documentation and Examples

JJMack
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 24, 2017 Aug 24, 2017
LATEST

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!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines