File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Scale Images Without loosing readability of images?

 
Bhoomika Bathla
Ranch Hand
Posts: 40
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I want to create a Tiff PDF from a list of images.PDF Page needs to be A4 only.I am using iText-5.0.5.jar for converting images to PDF.

But some images are large enough to fit into A4 Size sheet i.e the image gets trunncated. Is there any solution to this problem without loosig the image quality.

Thanks
Bhoomika
 
Stephan van Hulst
Bartender
Pie
Posts: 4846
34
Chrome Netbeans IDE Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the image is too big, you are left with either cutting or scaling them. Either way, you're going to lose information.
 
Bhoomika Bathla
Ranch Hand
Posts: 40
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually the images are like recipts that contains amount.so the text is less visible...Can the text remain intact eve whe we scale the image?
 
Stephan van Hulst
Bartender
Pie
Posts: 4846
34
Chrome Netbeans IDE Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You mean you want to keep the text the same size and only scale the rest of the image?
 
Bhoomika Bathla
Ranch Hand
Posts: 40
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes i want the text to be readable....but the problem is the the text is in the images for which the i am creating the tiff.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic