color in bitmap images in pdf files

i hv upgraded a project which dynamically generates pdf files from vb to vb.net..
almost everything is working fine except for the .bmp image being used as logo in the pdf document.
the original image has white background but it is displaying the logo with green background.How to solve the problem?Can anyone help..
following are the lines of code...

sColor = IIf(mvarEncodeASCII85, ToASCII85(ImgColor), (System.Text.Encoding.GetEncoding(1252).GetString(ImgColor)))
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories