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

Batch File removal of background color

Enthusiast ,
Feb 12, 2021 Feb 12, 2021

Copy link to clipboard

Copied

I feel like I'm going crazy  - I have a bunch (like hundreds) of files like this - I want to make an action to remove the pink colored background of the tiff, and save it with a transparent background.

 

I tried several actions, which work one at a time, but not as a batch!

TOPICS
Actions and scripting

Views

1.4K

Translate

Translate

Report

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

Enthusiast , Feb 16, 2021 Feb 16, 2021

I think I discovered my own answer (thanks so much to the two people who responded though!);

 

I think the issue was that the TIFFs I had had a 'background' layer that was, by default, locked.

 

When I tried to 'unlock' that layer via the action - it didn't work, but if I duplicated the locked layer (which by default is UNlocked), I could delete the original (locked) layer, then use the magic want to delete the pink I didn't want.

Votes

Translate

Translate
Adobe
Guide ,
Feb 12, 2021 Feb 12, 2021

Copy link to clipboard

Copied

1. uncheck "override action "Open" commands"

2. add "save as" command in action if you want to use option "override action "save as" commands", or uncheck and use "save and close" to overwrite source files, or "folder" to save files in another folder

 

and try again.

 

Votes

Translate

Translate

Report

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 ,
Feb 12, 2021 Feb 12, 2021

Copy link to clipboard

Copied

If all of you image files only contain a background Layer either Action  may work, There are no open steps to be override and you could add a save as.  The add layer mask step in REMOVE PINK3 should convert the Background Layer to a normal layer so a layer masks can be added.  So you would most likely want to add the save As step  to save a PSD or PNG file to preserve the transparency.   

 

However, if any of your source image file are layered. I do not like either of your Actions for they do not start off  targeting the bottom layer.    Also the magic wand step in REMOVE PINK3 tolerance 0 may be better with a higher  value and the positioning I would like to see closer Pixel  X 0  Y 0.  That would also be  same for  action  REMOVE PINK2 its setting are not visible.

image.png

JJMack

Votes

Translate

Translate

Report

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
Enthusiast ,
Feb 16, 2021 Feb 16, 2021

Copy link to clipboard

Copied

I think I discovered my own answer (thanks so much to the two people who responded though!);

 

I think the issue was that the TIFFs I had had a 'background' layer that was, by default, locked.

 

When I tried to 'unlock' that layer via the action - it didn't work, but if I duplicated the locked layer (which by default is UNlocked), I could delete the original (locked) layer, then use the magic want to delete the pink I didn't want.

Votes

Translate

Translate

Report

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 ,
Feb 26, 2021 Feb 26, 2021

Copy link to clipboard

Copied

If you want to batch it more efficiently:

  • Select the background layer
  • Use the Layer > New > Layer from Background menu.
David Creamer: Community Expert (ACI and ACE 1995-2023)

Votes

Translate

Translate

Report

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
Enthusiast ,
Feb 26, 2021 Feb 26, 2021

Copy link to clipboard

Copied

LATEST

Okay, I'll try that - thanks

 

Votes

Translate

Translate

Report

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