RGB Image Loading

I’m trying to load RGB images in my OpenGL program on a Linux box. I’ve seen two separate methods to do this: tkRGBLoadImage() and LoadRGBImage(). I can’t find where these methods come from. Apparently, the first comes from a “tk” library on an SGI. Is there a Linux equivalent?

Thanks for the help.