I have a function that will take an image and put a watermark (a company name and a date on it) when you download it from our website. It works well except for .gif. I am not sure what to do.
Graphics oGraphics = Graphics.FromImage(nImage)
;
gives this error:
"A Graphics object cannot be created from an image that has an indexed pixel format."
Any ideas? I really don't want to redo the whole function. I don't think I will know how.
Start Free Trial