Skip to main content
May 27, 2019
Question

Anti Aliasing on Rotated Objects

  • May 27, 2019
  • 6 replies
  • 5107 views

How do you remove anti-aliasing 100%. I am trying to create objects and rotate them but when doing so it blurs them to have a color that is in between the two colors. Just using the square tool and rotating it with move tool.

This is a major issue for me as I am trying to use Photoshop to mass generate image for computer AI learning. Currently it is unable to "read" colors unless I specify them, and currently I only want to specify the two colors.

caa4ccb43c.png8c287ac881.png

    6 replies

    June 8, 2019

    I did nothing different. Just came back to the project after a week. And now its working?

    e40f352491.png

    vceHOnM.gif

    Martin_Bns
    Inspiring
    May 30, 2019

    Hi there,

    Antialiasing is the revolution of the computer graphics. I still remember when I used to draw on my first Atari with the joystick, pixel by pixel. No antialiasing at that age and the graphics were horrible.

    You can deactivate antialiasing when you create new shapes but there is not real reason to do that. Antialiasing helps pixels to blend and give you a smooth result. Maybe try to use Adobe Illustrator which works by default in vector mode = no pixels.

    Cheers

    rayek.elfin
    Legend
    May 30, 2019

    I would have to disagree with that: there are many reasons for aliased art. Screen printing, comics, pixel art, game art,  printing on metals, game dev, and more.

    If anything, I would love to see enhanced support for the 1bit and 8 bit modes in Photoshop. The addition of layers would be a good start. A full aliased workflow is another.

    In other software I can work with full layer support in 1bit mode, and that's absolutely awesome for comic artists.

    Warren Heaton
    Community Expert
    Community Expert
    May 30, 2019

    Being able to keep layers while in Index Mode color would have been helpful for the last 25 years!

    Martin, totally agree with you on anti-aliasing, but the original post needs two-color graphics for machine learning.

    Actually, to hear from someone developing for machine learning in the graphics field that there's a limitation with color perception provides a small, if not fleeting, sense of comfort that my job as a creative isn't as threatened by automation as I might think.

    Semaphoric
    Community Expert
    Community Expert
    May 30, 2019

    Another thing to keep in mind is that Photoshop can do some "interesting" things when rotating with Nearest Neighbor, like at 45°:

        

    Warren Heaton
    Community Expert
    Community Expert
    May 30, 2019

    Hi Happy C:

    Create the graphics that you'd like to have in the document while it's RGB and layered.  So, it looks like you're going with a colored rectangle over a background of different color.  It looks like you're also working over white, so technically that's going to be 3 colors (white, green and yellow).  So maybe fill the background completely with green to get to just two colors.  Don't worry about anti-aliasing at this point.

    To remove the anti-aliasing 100%:

    Convert the document to Index Color (Image > Mode > Indexed Color...).  You'll be prompted to flatten the document, so maybe work in a duplicate.

    In the Index Color dialog box, set the Palette to Local (Perceptual), Forced to None, Colors to "2", Transparency off, Dither to None, and then click OK.

    You can stay in Indexed Color mode or promote the document back to RGB Color, but it'll be just two colors with the corresponding aliasing.  The advantage of staying in Index Color is that you can edit the Color Table (Image > Mode > Color Table...) at any time.  So you could start with green and yellow and switch to any other two colors that you'd like and always have just two colors.

    -Warren

    D Fosse
    Community Expert
    Community Expert
    May 27, 2019

    In the options bar you can choose interpolation method. "Nearest neighbor" will produce a perfectly clean sawtooth.

    davescm
    Community Expert
    Community Expert
    May 27, 2019

    You know I was looking for that Dag, as I was sure it existed but I didn't see it because .........it only appears on Edit > Transform > Rotate (or Ctrl+T) - not when you just rotate with the transform controls in the move tool.

    Dave

    D Fosse
    Community Expert
    Community Expert
    May 27, 2019

    I knew you were looking for it...so I looked harder

    Seriously, the interpolation controls are spread all over the place. About the only one that doesn't do anything is the one in Preferences, because there's always a local one that overrides it. You just need to find it

    davescm
    Community Expert
    Community Expert
    May 27, 2019

    I don't think you can  * [Edit - see Dag's post below - I was wrong ] , but you could put a posterise adjustment layer above them

    Dave