How to change the height and width of a png image dynamically using vc++?


Hi,

I m trying to load a png image by giving the dimension of my own.

CImage Image;
Image.Load (L"D:\\Images\\PNG_Images\\Image7.png");

But here what happens is that I m not able to give my own dimensions.My code requires constant changing of dimensions of the image.
I tried using libpng.lib in my code.But I dono the keywords for loading the png image after including the lib.

I m using Visual Studio 2010. I m developing in vc++.

How do I load and change the height and width of a png image?

Thankx a ton in advance....

Regards,
Sandhya
Topic archived. No new replies allowed.