OpenGL C++ Image loader


I’ve been searching for a long time on the internet to find tutorials that explain how to code you’re own image loader for OpenGL with C++, however I managed to find nothing, just a few links to libraries. I’ve been using an already made image loader code, but I don’t really understand how it works. if anyone can give some reference I would really appreciate it.