Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Other Open Source Projects and the fly likes how to increase dpi of the pdf upto 200 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "how to increase dpi of the pdf upto 200" Watch "how to increase dpi of the pdf upto 200" New topic
Author

how to increase dpi of the pdf upto 200

Arun Kumar pal
Greenhorn

Joined: Aug 12, 2008
Posts: 2
I'm using the itext for the pdf generation, it takes input from the innerhtml and process it then create pdf , by default it create pdf of 72Dpi ,i'm using using high quality images in it but it still gives the 72 dpi ,i'm using scaleAbsolute() method to place image into the rectangle. how i increase the dpi of image.

thanks in Advance
Arun
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
Welcome to JavaRanch.

This paragraph about scaling in the itext docs talks about how to achieve a certain DPI.
Arun Kumar pal
Greenhorn

Joined: Aug 12, 2008
Posts: 2
thanks for reply
I'm using the scale absolute() function, but resolution is not increasing. is there may be possible that I'm using it in wrong way .
please tell how can make it as input 480 DPI image than it at least up to the 240 or 250dpi of the PDF
 
Have you checked out Aspose?
 
subject: how to increase dpi of the pdf upto 200
 
It's not a secret anymore!