hi all;
im creating a small program to scan the contents of a dir and resize all images in there to a specified width/height. anyway the problem is i cant change the width / height properties of the image.
i am using the gdi+ Image* image = new Image(wFile); to open my image, then i am getting its width and height
UINT imageHeight = image->GetHeight();
UINT imageWidth = image->GetWidth();
then i go on to get the jpeg encoder and save the image, which makes a exact copy of the image i have opened.
image->Save(oFile, &encoderClsid, &encoderParameters);
i have searched everywhere in the msdn on a way to change the width and height properties of Image, but there doesnt seem to be a method to support that.
So to finally ask my question, is there a way to change the width and height properties of the image class or is there another class that will take have a method to manipulate an image object?
thanks for your help.