Hi,

How does assign pixel or units in iText compared with DPI?  Also how
does it determines the width and height when you create image in
Photoshop so it won't blurry in PDF through iText.

Regards,

Deepa 



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Paulo Soares
Sent: Monday, April 23, 2007 5:28 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Graphic for header


If you stretch the image it will look blurred. Your original question
really 
can't be answered, it all depends on the final resolution, in DPI,
needed.

Paulo

----- Original Message ----- 
From: "Elangainathan, Deepa (CT)" <[EMAIL PROTECTED]>
To: "Post all your questions about iText here" 
<[email protected]>
Sent: Monday, April 23, 2007 10:05 PM
Subject: Re: [iText-questions] Graphic for header


> Basically I used 2 functions.
> 1)
> Image jpg = Image.getInstance(path);
> jpg.setAlignment(Image.MIDDLE);
> jpg.scaleAbsolute(width,height );
>
> 2)
> Image jpg = Image.getInstance(path);
> jpg.setAlignment(Image.MIDDLE);
> jpg.scalePercent(scale);
>
> Regards,
>
> Deepa
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Paulo Soares
> Sent: Monday, April 23, 2007 5:00 PM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] Graphic for header
>
>
> I'm sure you know what you are talking about but without code and the
> PDF it
> will remain your secret.
>
> Paulo
>
> ----- Original Message ----- 
> From: "Elangainathan, Deepa (CT)" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Monday, April 23, 2007 9:55 PM
> Subject: [iText-questions] Graphic for header
>
>
> I would like to insert headers and footers as graphic. I am creating
it
> 10 inches width but it doesn't look as sharp as the original graphic
> created, especially (very noticeable) the right hand side is blurry.
>
> My question is, if I want to have a header which expands across the
page
> in landscape, what should the width of my banner be? My guess is, my
> graphic is too big. 3000 pixels at the moment.
>
> Regards,
>
> Deepa


------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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/
--------------------------------------------------------

If you are not an intended recipient of this e-mail, please notify the sender, 
delete it and do not read, act upon, print, disclose, copy, retain or 
redistribute it. Click here for important additional terms relating to this 
e-mail.     http://www.ml.com/email_terms/
--------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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