Do you have transparency?

Paulo

----- Original Message ----- 
From: "Peter van Raamsdonk" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, March 17, 2007 10:11 AM
Subject: [iText-questions] Color looks different after drawing 
particularimage types


> Hi,
>
> I don't know if this is itext related or simple in the pdf.
>
> I use the pdfgraphics2d and paint images loaded by ImageIO. If I fill a 
> simple rectangle with an color the color 'visually' changes (darkens) in 
> the pdf when I draw an image with a different colormodel like in gif or 
> png. In fact all colors change but in images the change is harder to 
> notice compared to a solid color. If I draw a jpg or bmp or don't draw an 
> image, the colors stays correct (or the same compared to the color (RGB) 
> in html).
>
> If tried resetting the color, background and composite to the start values 
> but still the same result. There are no layers painted over each other 
> mixing the colors. No blending involved.
>
> If I look at the color, the color stays exactly the same and the 
> colormodel too, yet visually it is not the same. I use itext 1.3.0. It 
> happens with both Acrobat reader 7 and 8.
>
> I wonder if anybody noticed this too and where the problem may lie.
>
> If I print the pdf the color is printed in the darkened form (this could 
> be printer related). If I use the same color in html it is shown in a 
> lightened form.
>
> Basically nothing changes but is shown otherwise,
>
> Color me crazy but it is true,
>
> Peter
>
>
> --------------------------------------------------------------------------------
> Live Search, for accurate results! Click here


--------------------------------------------------------------------------------


> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share 
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


--------------------------------------------------------------------------------


> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/
> 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to