Jump to content
You must now use your email address to sign in [click for more info] ×

Rasterize without antialiasing?


Recommended Posts

I need those colors to create a palette but whenever I create a palette, I get millions of colors instead of 64... I guess because it does this strange anti aliasing. So how do I turn it off to avoid  exactly this: (dimensions are rounded up, there are no decimals or whatever)

 

 

M8CQFu9yOL.png

Link to comment
Share on other sites

It seems you are upscaling the source image to a higher resolution. 
To avoid blurry lines, do the upscaling step separate from all others.

  • Open the source file
  • if possible, use integer multiple (same for x and y) for upscale.
  • Document>Resize
    • use nearest neighbors as resample method 
    • enter new size
    • apply
    • Save document, export as PNG
  • the open the target document
  • place up-scaled file
  • activate snapping and forced pixel alignment (not move by whole pixels)
  • double-check objects are perfectly pixel aligned 
  • do not modify size of source layer. If required, start over with step 1.
  • Do all further edits.

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

 

Link to comment
Share on other sites

On 10/27/2021 at 9:54 PM, NotMyFault said:

It seems you are upscaling the source image to a higher resolution. 
To avoid blurry lines, do the upscaling step separate from all others.

  • Open the source file
  • if possible, use integer multiple (same for x and y) for upscale.
  • Document>Resize
    • use nearest neighbors as resample method 
    • enter new size
    • apply
    • Save document, export as PNG
  • the open the target document
  • place up-scaled file
  • activate snapping and forced pixel alignment (not move by whole pixels)
  • double-check objects are perfectly pixel aligned 
  • do not modify size of source layer. If required, start over with step 1.
  • Do all further edits.

No, I'm not upscaling. Original size. I still tried your steps but the issue is persistent

On 10/27/2021 at 9:20 PM, BofG said:

Make everything sit on whole pixels, and have whole pixel widths and heights.

I tried that too but nope, not working. Whole pixels don't make any difference

Link to comment
Share on other sites

8 hours ago, Artcraft said:

No, I'm not upscaling. Original size. I still tried your steps but the issue is persistent

On 10/27/2021 at 9:20 PM, BofG said:

Your screenshot clearly shows that there is a DPI or alignment mismatch. Even if you don’t change the resolution intentionally, there is a mismatch regarding DPI and/or pixel position between the source image and the target document.

To see the issue earlier (before rasterize), you can activate “pixel” or “retina” view mode.

It would really help if you can upload an example document (both source image and afdesign).

Are you familiar with the move tool / transform panel?
please set document units to pixel (not point or mm), and set number of decimals to 6.

Please include transform panel, layers panel, and history in every screenshot.

You have “move by whole pixel” active. This can be a hurdle to get to correct positions. Use “force pixel alignment” instead.

 

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.