Cropping image and background color

Oct 3, 2012 at 9:00 AM

Hello, 

I am building an Image editor usingyour dll to crop images. If the image I am cropping is smaller than the size, I want to fill the output image with a color. 

Is it possible? How can I achieve this?

Thanks

Jocelyn

Coordinator
Oct 3, 2012 at 7:09 PM

The Clear method also takes an argument with a clearing color, so just clear the target bitmap before.

Oct 3, 2012 at 7:44 PM

Could you please give a sample?.

 

Thanks