Please post your Image.

I can probably help you, but I would like to see it before I try to answer
your question. 

Question 1) what is the physical size in pixels of your PNG?
Question 2) what is the rendered size in the PDF that you want it to be?

-Bill Ensley
Bear Printing

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sam
Green
Sent: Monday, November 27, 2006 6:14 AM
To: iText Mailing List
Subject: [iText-questions] Resolution

Hi all,

I have a quick question about image resolution with iText:
I have a png image of high quality, that I am adding to my PDF document 
using Image.getInstance( filename ).    When I do this, I notice a huge 
drop in image quality.

I'm assuming that iText is sampling my original image at 72dpi (the
impression I get from that documentation).  Is there a way of increasing
this?

The only way I can see of getting better quality images at the moment is to
create the original images twice as large, and then scale them down in
iText. Unfortunately, this is impractical, as the images are being generated
via another API that scales a bunch of text objects in different ways.

Thanks,
Sam.


-------------------------------------------------------------------------
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