Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for professional graphic designers and non-designers trying to do their own graphic design. It's 100% free, no registration required.

I created a simple circle drawing in Inkscape. Then I exported the drawing as png.

When I resize the image in IrfanView and save it as png then a thin white border appears around the circle.

You can see the difference between both images here:

Original image

Image after IrfanView

Why does saving with IrfanView put a white border around circle?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

This is likely due to saving out a PNG-8 from IrfanView. PNG-8 has very basic transparency support, on or off. So with an anti-aliased edge like you have there, where you really need different levels of transparency, it is simply applying a transparency color map (taken from your white background color) and applying it to the pixels that aren't completely transparent.

To avoid this, make sure you are saving as a PNG-24.

share|improve this answer
    
Thank you. This worked. Saving an image as PNG-24 is a bit cumbersome in irfanview. Here is how to make it: superuser.com/questions/418086/… –  Mert Nuhoglu Apr 28 '12 at 15:59
    
Actually PNG-8 has full alpha support, just some programs pretend it doesn't. –  porneL Mar 3 '13 at 23:10
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.