File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes How to Scale Images Without loosing readability of images? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to Scale Images Without loosing readability of images?" Watch "How to Scale Images Without loosing readability of images?" New topic
Author

How to Scale Images Without loosing readability of images?

Bhoomika Bathla
Ranch Hand

Joined: Nov 28, 2009
Posts: 40
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

Joined: Sep 20, 2010
Posts: 3649
    
  17

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

Joined: Nov 28, 2009
Posts: 40
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

Joined: Sep 20, 2010
Posts: 3649
    
  17

You mean you want to keep the text the same size and only scale the rest of the image?
Bhoomika Bathla
Ranch Hand

Joined: Nov 28, 2009
Posts: 40
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
 
subject: How to Scale Images Without loosing readability of images?