private ImageAttributes MagentaToPaperColor(Color paperColor)
{
ImageAttributes imageAttributes = new ImageAttributes();
ColorMap map = new ColorMap();
map.OldColor = Color.Magenta;
map.NewColor = paperColor;
imageAttributes.SetRemapTable(new ColorMap[] {map});
return imageAttributes;
}