You may have transparency in some other part of the page. If that's the case 
call:

PdfWriter.RgbTransparencyBlending = true;

Paulo 

> -----Original Message-----
> From: [email protected] [mailto:[email protected]] 
> Sent: Tuesday, July 14, 2009 9:19 AM
> To: iTextSharp
> Subject: [iText-questions] Avoid the degrading of a BMP Image
> 
> Hi,
>  
> I have put a BMP Image into my document but the Image shades off
> and I would like to avoid it.
>  
> How can I do it?
>  
> This is my code snippet,
>  
> Dim bmp As Image = Image.GetInstance(New 
> Uri("http://localhost/pdfCreator/imagenes/bmp_telefonica.bmp";))
> bmp.Rotation = 4.712388F
> bmp.ScaleAbsolute(40.0F, 75.0F)
> document.Add(bmp)
>  
> Thanks in advance,
> Jose Alvarez de Lara
> 

Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to