How to fit a big image say (1920 * 1080) into small Graphics 2D context (may be 960 * 540). Which api i should to call before :
context_.ReplaceContents(&image_data);
This image data variable have a size of (1920 * 1040 * 4 (as i am using RGBA format, so 4 bits for each pixel)
I am using google pepper plugin apis for my developement.