Op 8/02/2011 12:22, [email protected] schreef:

Thank you for your reply.

As you said I run through the ImageProvider interface which has been given in chapter 9 of "iText in Action - Second Edition." Here, they have mentioned to give the path of the source file where it does contain. But,

My HTML file does contain following code in image tag...

<IMG class=shape

style="DISPLAY: none; WIDTH: 0px; HEIGHT: 0px" height=0

src="cid:870001313@01022011-2B8B" width=0 v:src = "cid:870001313@01022011-2B8B"

v:dpi = "96" width = "1" height = "1">

Here, how can I mention about the source of the file as it is cid:870001313@01022011-2B8B. Do you have any possible ways to handle with these kinds of images?


Your HTML is probably part of an e-mail.
In any case, the "cid" refers to an content that is embedded in the file; for instance: in the e-mail message. If it's an image, it will probably be encoded so that it only contains ASCII characters.
All of this needs to be handled in the ImageProvider.
It's up to you to write that code.
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

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

Reply via email to