Thanks again Leonard and Bruno . Actually we get pdf with searchable text
, already ocr by third party tool .Now from Itext api , how will i get
the image or content text . I was able to get the pdfStream using ,
contents key from page dictionary . But couldn't get content from the
stream . i cehekcd the size of content from stream , its always same
regarless of whether its blank or not blank page.
Internet
[EMAIL PROTECTED] - 01/25/2006 11:07 AM
To: Ritesh MODI
cc: itext-questions
Subject: Re: [iText-questions] Help With reading blank page
At 10:48 AM 1/25/2006, [EMAIL PROTECTED] wrote:
>Thanks . What we are looking for is something which seems blank to users
>when they open it.
OK.
>Actually , there is no question of annoataion or field ,
>as these are converted to pdf file from scanned image. So is there any way
>, we can determine that a page is white image with no standard content .
Sure.
First look at the content stream and see if it represents
only a single image. If so, then you'll need to decode the image and
check each pixel value to see if it is "white".
LDR
---------------------------------------------------------------------------
Leonard Rosenthol <mailto:[EMAIL PROTECTED]>
Chief Technical Officer <http://www.pdfsages.com>
PDF Sages, Inc. 215-938-7080 (voice)
215-938-0880 (fax)
This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.
---------------------------------------------
Ce message et toutes les pieces jointes (ci-apres le
"message") sont etablis a l'intention exclusive de ses
destinataires et sont confidentiels. Si vous recevez ce
message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur. Toute utilisation de ce
message non conforme a sa destination, toute diffusion
ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse. L'internet ne permettant pas
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions