problem load image format

i have a class and fuction upload only bmp
and and i have another load only raw?
my question is
theris class and fuction can multiopload format image
exemple:png,jpg
i am sorry for my english

No these are things you can implement for yourself as they are not part of OpenGL.
Of course, there are some rather handy image loading libraries available on the net. Perhaps Google them?

have you lookied into the opensource image loading library

thks