   SDL_Image png issue
  hello, new to the community and looking for help,i've been thumbing through some random sdl tutorials and came across an issue with loading a png with IMG_Load.Whenever I attempt to load a png, the function returns NULL, however loading a bmp wit the same call does load it successfully.I have the libpng12-0.dll in my included lib folder.anyone know what is wrong?   
  What does the string returned by IMG_GetError() say? You are doing error checking... right?   ;  sorry new to sdl, how do i utilize its GetError?   ;Quote:Original post by Denzinsorry new to sdl, how do i utilize its GetError?Here is the documentationand a slightly modified example from said documentation.printf("There was an error : %s", IMG_GetError());hope that helps   ;  if(loadedImage != NULL){//create optimized imageoptimizedImage = SDL_DisplayFormat(loadedImage);//free the old imageSDL_FreeSurface(loadedImage);//return imagereturn optimizedImage;}else{printf("Error message: %s\n", IMG_GetError()) return NULL;    }i added the message but it doesnt display anything when it gets to it?   