Mobile app version of vmapp.org
Login or Join
Shelley591

: Rasterizing circle to exact size 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

@Shelley591

Posted in: #AdobeIllustrator #AdobePhotoshop #Raster #Vector

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 actually 11px instead of 12px.



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?

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Shelley591

3 Comments

Sorted by latest first Latest Oldest Best

 

@Cofer715

I ask now rhetorically: "What happens when you set the center point (x,y origins) of the object to integers?"

When the origin is set as a fraction of a pixel, when the object is rasterized, there will be rounding of fractions (probably down to the nearest integer).

In my humble opinion, AI should not allow you to specify fractions of pixels, but there it is.

10% popularity Vote Up Vote Down


 

@Lee3735518

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"

10% popularity Vote Up Vote Down


 

@BetL875

Adobe Fireworks is ideal for stuff like this. You can create, align, scale, resize vector graphics pixel perfect, and export them as numerous formats, including PNG.

You can even define where the color edge is drawn, inside vector shape, in the middle of the vector shape path, or on the outside.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme