White Artifacting around PNG

Trying to draw PNGs without this white artifacting around them. It is an ofImage, Any ideas?

this is most likely in the image file itself – you might need to deselect matte if you are using photoshop and saving for web (just a guess)
https://forums.adobe.com/thread/555943

The image wasn’t saved for web. It also doesn’t seem to have this artifacting when rendered in a web page.

So the image had some transparent space around it. After I trimmed the transparent pixels in Photoshop the artifacting went away. Not really sure why, but it worked.