Working with GIF and PNG files

Hi guys! Sorry for my not perfect language...
I have a problem: i need
1) read GIF or PNG image from folder;
2) then i need to decode it to bitmap format;
3) then i need to get all pixels of this bitmap to my void* buf
4) then i need convert this void* buf to char* buf with full access.

I dont want use any net. framework.
I didnt understood how to using GDI or GDI+ for my goals(i find some useful information, but it doesnt help me enought).
The best way to solve my problem is library, or header.h or something like this, that i can include to my code, to write something like:
1
2
3
4
5
6
create bitmap("\\folder1\\folder2\\image.gif");
void* buf;
bitmap.FillBufPixels(buf);
char* masofpixels;
bitmap.CreateMasOfPixels(masofpixels);
//BINGO! 

The problem is, i am newbie and i dont know where and how to find already done libraries and etc.
Plz, help me as u can!
Topic archived. No new replies allowed.