I could get the DateTime TAG with TIFFField dt = dir.getField(306)
but I would like to code TIFFField dt = dir.getField(TIFFTAG_DATETIME) Where TIFFTAG_DATETIME comes from ? Paulo Soares wrote: > > What is the question? > > Paulo > >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of beppecosta >> Sent: Friday, March 09, 2007 2:08 PM >> To: itext-questions@lists.sourceforge.net >> Subject: Re: [iText-questions] Tiff2Pdf >> >> >> Paulo, >> >> what shall I include to get the TIFFConstants.TIFFTAG_* ? >> >> Thanks. >> >> >> >> Paulo Soares wrote: >> > >> > >> > >> >> -----Original Message----- >> >> From: [EMAIL PROTECTED] >> >> [mailto:[EMAIL PROTECTED] On >> >> Behalf Of beppecosta >> >> Sent: Friday, March 09, 2007 11:34 AM >> >> To: itext-questions@lists.sourceforge.net >> >> Subject: [iText-questions] Tiff2Pdf >> >> >> >> >> >> I've already posted on this subject but nobody answered >> >> because probably my >> >> question was not clear enough. >> >> >> >> I'm using tiff2pdf to create pdf from scanned tiff images. >> >> Imagescaling, >> >> rotation and positioning work fine and the final pdf is >> >> perfect. However I >> >> would like to timestamp it at creation time by using the >> DateTime and >> >> Software information that have been included in the tiff IFD >> >> by the scanner >> >> (but the DateTime could be enough too). >> >> >> >> My question is: is it possible to get this information >> directly with >> >> iText/Tiff2Pdf without pre-running a tiff read. >> >> >> > >> > It's trivial to get tags with TIFFDirectory. >> > >> > Paulo > > > Aviso Legal: > Esta mensagem é destinada exclusivamente ao destinatário. Pode conter > informação confidencial ou legalmente protegida. A incorrecta transmissão > desta mensagem não significa a perca de confidencialidade. Se esta > mensagem for recebida por engano, por favor envie-a de volta para o > remetente e apague-a do seu sistema de imediato. É proibido a qualquer > pessoa que não o destinatário de usar, revelar ou distribuir qualquer > parte desta mensagem. > > Disclaimer: > This message is destined exclusively to the intended receiver. It may > contain confidential or legally protected information. The incorrect > transmission of this message does not mean the loss of its > confidentiality. If this message is received by mistake, please send it > back to the sender and delete it from your system immediately. It is > forbidden to any person who is not the intended receiver to use, > distribute or copy any part of this message. > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > Buy the iText book: http://itext.ugent.be/itext-in-action/ > > -- View this message in context: http://www.nabble.com/Tiff2Pdf-tf3375164.html#a9395216 Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/