Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to increase dpi of the pdf upto 200

 
Arun Kumar pal
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

This paragraph about scaling in the itext docs talks about how to achieve a certain DPI.
 
Arun Kumar pal
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic