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

Turn off Anti-aliasing with Quick Selection Tool / Object Selection Tool

New Here ,
Jan 03, 2024 Jan 03, 2024

Copy link to clipboard

Copied

Hello! I have this ongoing project where I have to cut out images with crisp edges in large volumes. I've found the Quick Selection Tool and Object Selection Tool to be the best/fastest method, but the only problem is that you can't turn off anti-aliasing. It's weird since the lasso tool seems to have that ability (to turn it off/on).

There's probably a very obvious solution that I'm just not seeing it, or a script out there that can bypass this? 

TOPICS
macOS

Views

293

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
Adobe
Community Expert ,
Jan 03, 2024 Jan 03, 2024

Copy link to clipboard

Copied

If you make a selection with either the Quick Selection Tool or the Object Selection Tool, you can select Hard Edge in the Options bar although it is still anti-aliased. 

 

For selections made by either of those tools, you could click on the Select and Mask button and in the Properties in the Select and Mask Workspace, set Contrast to 100%.

 

If you set that selection to Output to a Layer Mask, then you may see that you still have gray pixels. In that case, you can select the Layer Mask thumbnail in the Layers panel and go to Image > Adjustments > Threshold... to convert the pixels in the Layer Mask to either black or white.

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
New Here ,
Jan 09, 2024 Jan 09, 2024

Copy link to clipboard

Copied

Thank you! Currently I'm doing the magic wand (after object selection) and modify > expand. But was hoping for a slightly faster / straightforward method. 

 

 

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 ,
Jan 09, 2024 Jan 09, 2024

Copy link to clipboard

Copied

LATEST

Selection to QuickMask mode (q), threshold 128, exit QuickMask mode (q).

 

Easily recorded into an action for quick access via an F-key shortcut.

 

2024-01-10_12-23-42.png

 

A script version would offer a custom keyboard shortcut for easier access.

 

128 is the middle value, adjust as necessary.

 

 

EDIT:

 

Here it is as a script –

 

#target photoshop

var selectionBounds = null;

try {
    selectionBounds = activeDocument.selection.bounds
} catch (e) {}
if (selectionBounds) {
    activeDocument.quickMaskMode = true;
    var idthresholdClassEvent = stringIDToTypeID("thresholdClassEvent");
    var desc188 = new ActionDescriptor();
    var idlevel = stringIDToTypeID("level");
    desc188.putInteger(idlevel, 128); // Adjust value as needed from 1-255
    executeAction(stringIDToTypeID("thresholdClassEvent"), desc188, DialogModes.NO);
    activeDocument.quickMaskMode = false;
} else {
    alert("A selection must be active!");
}

 

 

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