tga error

When I load a tga-file with my tga loader I get strange colors at the ege of the texture.
Does anybody know whats wrong with my tga loader?

Did u load the right TGA image that is supported by your loader (compression or not, bits per pixels, etc …) ?

Didn’t you forget to exchange Blue value and Red value as the TGA format is coded in BGR format?

Hope it can help!