Jump to content
Pixel and Poly

Flatten or Rasterize after a crop introduces small transparent edge(s)

Recommended Posts

PHOTO

 

I've noticed this for a while but didn't think to post.

 

You have an image. Make sure 'force pixel alignment is off'. Perform a crop. Then either rasterize the layer or flatten the document and many times there will be a small 1px transparent edge(s) on the image.

 

If it is completely transparent shouldn't it be cropped away?

 

Using 'force pixel alignment' fixes this but it seems that it is not accurate behavior with it off.

Share this post


Link to post
Share on other sites

It actually is accurate behavior because of anti-aliasing. If the edge of an object isn’t exactly aligned to a pixel edge it’s bleeding into the next pixel with a varying amount of transparency, depending on the amount of misalignment. It might not even be visible to the plain eye but it’s there for the computer that does the calculation, and that’s why you get a (semi) transparent edge.

 

Nice tutorial explaining anti-aliasing in icon design showing the issue in the second image: http://mezzoblue.com/archives/2007/07/11/icon_design/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

These are the Terms of Use you will be asked to agree to if you join the forum. | 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.