Copy link to clipboard
Copied
I want to use the content aware fill automatically. but the sampling area is overlay on text so the content awre fill the selection area with text.
Do i have option to ignore the text area in the sampling area? can i controll the sampling area?
Copy link to clipboard
Copied
Your text should be on a separate layer, or you'll have to make a selection that doesn't include the text.
Copy link to clipboard
Copied
I can get binary image with the text in black and other area with white. how can i use it for contetnt aware fill so it will ignore the text area?
Copy link to clipboard
Copied
"you'll have to make a selection that doesn't include the text"
Copy link to clipboard
Copied
the text which causing me a problem is not layer text, it text in the orig image
Copy link to clipboard
Copied
Copy link to clipboard
Copied
I have rect area (selection area) which i want to apply content aware, but the text nearby the rect is included in the sampling area, and i am getting the text in the rect area.
how can i remove the text from the sampling area? the text is not layer, it in the prig background image
Copy link to clipboard
Copied
In the content aware menu you can draw with the "minus" (-) brush to erase the green highlighted parts (sampling area) so they aren't sampled in the fill. Is that what you're looking to do?
Edit: Just realized you're looking to do this with extendscript so my answer below probably doesn't apply. But at least you can confirm this is basically what you're trying to do with a script?
Before:
 
After:
Copy link to clipboard
Copied
Only use the part of the image that doesn't include text to sample from.
https://helpx.adobe.com/photoshop/using/content-aware-fill.html