Colin Freas wrote:
> Is there a standard way to iterate through the images in PDF with 
> iText? 

Not really. This is the closest you'll get: http://1t3xt.be/?X0000a4

> If I can get the raw image data, I can just compare it to a hash 
> of target images. 

No, that's wrong for most image types. Read the PDF Reference and you'll 
understand that your idea isn't feasible.

> If accessing and hashing the image data is too 
> complex, I could settle for determining if a specific image of a certain 
> size is present at a certain location.

Again: the code in http://1t3xt.be/?X0000a4 is the closest you'll get, 
but it won't work for all image types.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to