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

In a Batch, how to read in a constant image each iteration while Override on

Explorer ,
Nov 22, 2023 Nov 22, 2023

Hello,

I am trying to Batch iterate through a folder of images using a Set of Actions. In addition to the input images, I need to open an existing constant image depending on whether there are transparent pixels in the input image or not (using a conditional).

 

I need to have "Override Action "Open" commands" unchecked in the Batch command so Batch will iterate through all input images, but that seems to also prevent opening the constant image for each iteration when the input image is found to contain transparent pixels. When I run the Actions step by step I can see it just skip over the "Open" for the red image file each iteration.

 

I do want every image file in the Input folder to be saved with the same file name, but in an Output folder.

 

Could someone please point out the obvious, i.e. what I'm missing?

 

Should I instead create this image during the action each time? But what if it had to be a bitmap image rather than a solid color as in this case?

 

Below is a copy of the Set of Actions.

 

Thanks for any help with this,

Ian Jaffray

 

IanJaffray_0-1700685004314.png

 

TOPICS
Actions and scripting , Windows
436
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

correct answers 1 Correct answer

Mentor , Nov 22, 2023 Nov 22, 2023

Screenshot 2023-11-22 233722.png

Screenshot 2023-11-22 234113.png

 

Translate
Adobe
Mentor ,
Nov 22, 2023 Nov 22, 2023

Screenshot 2023-11-22 233722.png

Screenshot 2023-11-22 234113.png

 

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
Explorer ,
Nov 22, 2023 Nov 22, 2023
LATEST

Hey jazz-y,

Thanks very much for your reply, I will put your changes in place and give it a whirl.

It must just be me, but I find these conventions of the Batch command difficult to remember and counter-intuitive, so I appreciate you making things clear.

To summarize my understanding now, because on the input side of the Batch command leaving "Override Action "Open" Commands unchecked means Batch will do the overhead of iterating through all the files in the Source folder and I'll be able to open my red background file each iteration.

And, leaving the "Override Action, "Save As" command checked means Batch will handle saving the output file and use the same file name (but perhaps a different folder) as the input image has.

If you or anyone could explain what occurs with these settings that you've supplied better or more clearly, I'd be very grateful to read it.

 

Thanks, jazz-y, I very much appreciate your help with this!

 

Ian J.

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