I have created a circle in Illustrator with a radius of
12px
.
Now I’m trying to rasterize this into a
.png
from Photoshop to have the exact same size, but anti-aliasing is messing things up and the height is actually11px
instead of12px
.
I tried both, exporting the
.png
from AI and opening the.ai
file from Photoshop but I get the same result. So how can I rasterize my vector to match the desired size?
Answer
Make sure your shape is placed on whole pixel values (ie, X:851px and not X:851,728 px)
If your object is aligned to the pixel grid, antialiasing won’t make it bigger.
You can do this easily by selecting the option “Align to pixel grid” in the Transform panel (if you don’t see it, select “show options” from the flyout menu)
To do this automatically for new objects, in the transform panel options choose “Align new objects to pixel grid”
Attribution
Source : Link , Question Author : Michael , Answer Author : spiral