I'm creating a program to generate PDF files in VB.Net.
Everything is working fine except that the image is being displayed with a blue background while the image provided doesn't have any.
Following are the lines of code being used:
sColor = IIf(mvarEncodeASCII85, ToASCII85(ImgColor), (System.Text.Encoding.GetEncoding(1252).GetString(ImgColor))) The image is a bitmap image.
How can i solve the problem?