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

Rasterize without antialiasing


Recommended Posts

Hi.

I am dealing with some specific item. I am creating the lettering using Pen Tool in Affinity Photo. The task is to create letter as curve and then turn it to pixel layer with crisp / sharp edges = no antialiasing. There is antialiasing around the curve edges but I found the solution  here from  @MEB to get aliased object by adjusting the Coverage Map. It works for vector object (curve) but when I rasterize the object to pixel the anti-aliasing is back. 

Is there a possibility to keep sharp edge after rasterizing? If not is there some elegant way how to make those edges sharp quickly1731870977_Snimkaobrazovky2019-01-23o18_52_23.thumb.jpg.bc6546d88708f96bbb366c9170121d5f.jpg?

 

Link to comment
Share on other sites

50 minutes ago, Milos Micatek said:

Is there a possibility to keep sharp edge after rasterizing? If not is there some elegant way how to make those edges sharp quickly

There may be, but I'll give an option for the "if not..." part.

Probably a bunch of ways, so I'll just kick off the melee (;)) with:
With the rasterized layer selected go to Select dropdown > Alpha Range >Partially Transparent. Hit delete.

Link to comment
Share on other sites

  • 1 year later...

Is this still the best way to do this? I tried to replicate this using the "Alpha" option in the "Select Sampled Colour…" panel. While it seems to select the parts I'd expect, it seems that some pixels are "partially selected" and are still affected though they are outside the boundary, as with this GIF.

Kapture_2020-04-06_at_9_56_48.gif

Link to comment
Share on other sites

  • 2 weeks later...

K, think I spoke too soon. Tried it again today and I still get pixels filling in outside of the given selection. I think I've found a workaround, but I had a few questions:

  1. Is this behavior normal? Are the pixels outside the selection border "partially-selected" or the result of anti-aliasing the selected pixels? Is there a way to tell when his will happen?
  2. I've managed for now to just invert selection and delete the extra pixels, but it takes a few strokes of the "Delete" key to clear it as it only partially deletes the pixel. What's controlling it complete or partial deletes pixels?

Kapture_2020-04-16_at_23_17_03.gif

Link to comment
Share on other sites

1 hour ago, drakecaiman said:

K, think I spoke too soon. Tried it again today and I still get pixels filling in outside of the given selection. I think I've found a workaround, but I had a few questions:

  1. Is this behavior normal? Are the pixels outside the selection border "partially-selected" or the result of anti-aliasing the selected pixels? Is there a way to tell when his will happen?
  2. I've managed for now to just invert selection and delete the extra pixels, but it takes a few strokes of the "Delete" key to clear it as it only partially deletes the pixel. What's controlling it complete or partial deletes pixels?

Kapture_2020-04-16_at_23_17_03.gif

 

I don't know why rasterising the group is not producing an aliased pure black result. Please post the file (or another with same problem) at the stage immediately after setting the aliasing coverage map on the vector object.

Link to comment
Share on other sites

33 minutes ago, drakecaiman said:

K, feel kind of stupid, but I just realized that the technique in the original post was done in Affinity Photo, not Designer. Did this in a trial version of Photo and worked without problem. Is this possible to do solely in Designer, or is Photo required?

The method I said to use works for me in Photo, Designer and Publisher. There's a better chance of solving this if you post the file I asked for.

Link to comment
Share on other sites

5 hours ago, drakecaiman said:

Just checking to make sure that wasn't the cause. Here's the file:

Raster Test.afdesign 19.58 kB · 2 downloads

Thanks. The problem is the stroke alignment is "Inside". Despite the fill being empty, the coverage map is failing to affect the outside edge of an inside-aligned stroke or the inside edge of an outside-aligned stroke. However, you can do Expand Stroke (it has been much improved recently) to get the necessary aliasing when you don't want to use a centre-aligned stroke. Don't forget to have the result of the expansion in a Group and then rasterise the Group.

By the way, you get a preview of what rasterising will produce by switching the view mode to "Pixels"

1287085427_Pixelsviewmode.png.740606a0ab97f4402afc112d8ca47525.png

Link to comment
Share on other sites

34 minutes ago, Lagarto said:

c) Right click the ellipse layer and choose Rasterize. You should get a pixel layer that matches the preview.

No, you must rasterise the group that contains the ellipse.

35 minutes ago, Lagarto said:

Aliasing a non-center aligned stroke would probably require visiting the Pixel Persona and filling (at least part of) the antialiased pixels with black.

No, Pixel Persona is not necessary; I explained in the post immediately before yours that you simply use Expand Stroke before rasterising the group.

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.