I am using the following code to copy from ms chart image to clipboard. But the image copied is in clip board is too large. Each of them becomes 3 MB. Is there any way to image compress the bitmap object? Not file compress but image compress like jpeg compress
using (MemoryStream ms = new MemoryStream())
{
chart1.SaveImage(ms, ChartImageFormat.Png);
Bitmap bm = new Bitmap(ms);
Clipboard.SetImage(bm);
}