On 19/07/2011 7:37, raaja.g wrote:
> My problem is I am not able to store the images one by one in the sequence
> selcted by user.

That's not an iText question.
The order is determined by the FormFile object of which you retrieve an 
ArrayList.

>   some images were missing in between if there resolutions
> are different and I am not able to know the resolution of the image. Just I
> can know the size of the image.

With iText you can ask for the size in pixels.
There are several getWidth() methods in the Image class.
They all have a specific meaning (see chapter 2 of the book).

There's also a method to retrieve the resolution of the image.
However: this method won't work for all image types.

In the context of iText, the resolution isn't all that relevant.
Once you have the size in pixels, you can define the size of the
image on the page. The ratio between both sizes determines
the resolution.

On another note: do you have a specific reason for storing
the images on the file system? This isn't really necessary.
You can easily create an Image object from a byte[] (without
the need to have the image on disk).

------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to