Ooops, nevermind. Got that to work at all. Those PNG files had their metadata
somehow messed up, so the dimensions were basically wrong. I did a check on
their size, fixed the scaled and voilà, it worked! Cheers!
De: Rafael Nagure <[email protected]>
Para: "[email protected]"
<[email protected]>
Enviadas: Segunda-feira, 27 de Junho de 2011 9:06
Assunto: [iText-questions] Some images aren't displayed in HTMLWorker mode
Hi there, list!
I have a bunch of images retrieved from a certain website by using 'URL imgURL
= new URL("http:// ......................."); Image img =
Image.getInstance(imgURL);'. It works flawlessly. Unfortunately, for some
reason I don't know, when using 'HTMLWorker', some images aren't displayed at
all. It seems they *are* inserted in the final PDF, but no real image output is
provided (only a blank space with the dimension of that image). It appears to
happen with some PNG files, but I didn't test that thoroughly. Funny thing is,
the very same images that work in the regular PDF creation don't work when
using 'HTMLWorker'. My 'ImageProvider' has the same code above, so I cannot
figure out what's happening. Am I missing something obvious?
Thanks!
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
iText-questions mailing list
[email protected]
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------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
iText-questions mailing list
[email protected]
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