Hi Feng,
As far as I know iText is not suitable for these things.
Try convert from imageMagick. It's free and runs in batch mode in almost
all SO.
Exmple of ImageMagick's convert:
convert filename.pdf filename.tif
I have put the tif format because it supports multipage image files. In
case your pdf contains several pages you can also do things like:
convert filename.pdf[0] filename_0.png
In this case you are converting just the first page, now to png.
And so on...
convert filename.pdf[1] filename_1.png
convert filename.pdf[2] filename_2.png
Then you can extract whatever part of the image you wants. I think convert
also does such thing.
Hope this helps
Jose
2014-10-16 21:04 GMT+02:00 Feng Qing <fengqing...@yahoo.com>:
> Hello,
>
> This my first time using iText. In a recent project I am trying to
> programmatically take some snapshots of PDF pages, and I have been studying
> the basics of PDF syntax following *iText in Acton* for the past two days.
>
> After extensive search I didn’t find provision for converting page to
> image, either in full or specific regions. Could someone confirm whether it
> is possible to achieve with iText? If it is not possible, could someone
> recommend a program for image exporting (specific region (PDFTK or PDFBox))
> ?
>
>
> Feng
>
>
>
>
> ------------------------------------------------------------------------------
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://p.sf.net/sfu/Zoho
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> 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
>
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
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