Open JPG and PNG files

I managed to load BMP and TGA pictures (in fact I managed to get datas of the pictures then I use glTexImage2D() to load it).

I want to do the same with JPEG and PNG pictures but I didn’t manage. I tried some codes but without results.

I wonder if the libraries like FreeImage, libJpeg or libPng work on mobile devices.

Have you some ideas on it ?


This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.