1

As noted in the zoomed snippets below, I'm able to get the antialiasing looking good in gimp (just by using the AA setting in the ellipse select tool). However, when I export it (as png, of course) the AA is a fade to white.

I'm not well versed in Gimp so it may be something simple I'm missing, but I can't figure this one out.

What it looks like in gimp: in GIMP view of AA

What it looks like in paint(and other photo viewers): in MS Paint of AA

Edit: Here is a link with the files

  • 1
    Hi. Welcome to GDSE. I can't replicate the problem when saving a PNG from GIMP and dropping into Paint. Can you please share the PNG image as exported from GIMP, not a screenshot. Thanks. – Billy Kerr Mar 15 at 22:50
  • Should have worked. Can you post the XCF somewhere? Is the drop shadow on the same layer or on a different one? How did you export (which format (for PNG, was it color-indexed)?) – xenoid Mar 15 at 23:20
  • My bad. Link is now included. – T. Wheel Mar 15 at 23:38
2

You appear to have constructed the XCF in such a way that you have cut away part of the drop shadow. I'm not entirely sure how or why you did that, but you don't have to cut out the drop shadow layer at all.

What this has caused is that there is a row of totally transparent pixels around the shadow where it meets the circle, so when you view it upon a white background, you see white through the transparent pixels.

One possible fix:

Instead create your circle and apply a drop shadow on a layer that is not cut out from the layer above. The Drop Shadow (Legacy) filter should achieve this. The top layer will simply cover over the hidden part of the shadow.

Another method is just to create a circle filled black on a layer under the circle, apply a gaussian blur to it, move it slightly away from the top circle, and reduce the opacity of the shadow layer.

Like this:

enter image description here

Here's the PNG export, showing the problem no longer exists.

enter image description here

  • Thank you! Your answer makes total sense. It seems the problem stemmed from me creating the dropshadow from a fuzzy select of the already antialiased foreground (which would have included the transparent edges). Simply hiding the foreground layer showed exactly what was wrong. – T. Wheel Mar 16 at 1:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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