Hi , I have found a solution on the net using GDI+, it seems to work for now, so i guess I am going to stick to this solution for now or until something else is needed.
Thanks for your help guys.
if (temp.PixelFormat == PixelFormat.Format1bppIndexed)
{
Image img = temp;
Bitmap bmpInverted = new Bitmap(img.Width, img.Height);
ImageAttributes ia = new ImageAttributes();
ColorMatrix cmPicture = new ColorMatrix(new float[][]
{
new float[] {-1, 0, 0, 0, 0},
new float[] {0, -1, 0, 0, 0},
new float[] {0, 0, -1, 0, 0},
new float[] {0, 0, 0, 1, 0},
new float[] {1, 1, 1, 0, 1}
});
ia.SetColorMatrix(cmPicture);
Graphics g = Graphics.FromImage(bmpInverted);
g.DrawImage(img, new Rectangle(0, 0, img.Width, img.Height), 0, 0, img.Width, img.Height, GraphicsUnit.Pixel, ia);
g.Dispose();
temp.Save(savedImage);
img.Dispose();