White outline on imported png for tileset

I’m importing 32x32 block tileset that is just purely one colored blocks, but for some reason there is always a white border that bleeds over into all the blocks so that the tilemap I build ends up looking like a bunch of individual blocks with white outlines between them. Is there a way to get rid of this effect?

This picture shows what I mean, you can see on the green block a white border that is not there when I imported it from gimp as a 32x32 block of just pure green.

Figured it out. When you import as a texture, open up the texture and in the details under the texture tab change filter from any of the others to Nearest.