-------------- Original message ---------------------- From: Xavier Le Vourch <[EMAIL PROTECTED]> > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > pcman wrote: > | Hi, > | > | I am using the following command line to generate a pdf from a list of > image > | files. > | > | # java -cp itext-2.0.0.jar com.lowagie.tools.plugins.PhotoAlbum > | > | However when viewing the pdf, the images are sorted alphabetically by > | filename. I want the > | images to be sorted by timestamp instead. Is this possible and is there a > | parameter > | I can use? > > This has nothing to do with iText and is a very basic Java question. A > quick google search would have returned links such as: > > http://forum.java.sun.com/thread.jspa?threadID=418132&messageID=1850175 > > Please do at least a cursory google search before posting to the mailing > list. > > > Best regards, > > Xavier Le Vourch > > - -- > Xavier Le Vourch > Brittany Software, Inc. > <[EMAIL PROTECTED]>
Now that the OP has guidance on how to sort files by timestamp, he should be able to modify the source code for PhotoAlbum to provide the option he seeks. Note to pcman: Xavier is indeed correct that your problem is a basic Java question, and in that respect, does not belong here. If you have a problem modifying PhotoAlbum, please post your iText-related questions, together with a small stand-alone example demonstrating any issues you encounter with iText. Best regards, Bill Segraves ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar