2009/3/5 Brian Busch <bdbus...@gmail.com>

> On Wed, Mar 4, 2009 at 5:56 PM, Antonio Manuel Muñiz <
> amunizmar...@gmail.com> wrote:
>
>> Hello Brian, thanks for your reply.
>>
>> I have renamed the image to image123456XYZ.png, I'm sure that I haven't an
>> image with this name in the classpath.
>> I have added this to my code:
>>
>> URL resource2 =
>> this.getClass().getClassLoader().getResource("image123456XYZ.png");
>> if(resource2 == null) {
>>     System.out.println("It's null!");
>> } else {
>>     System.out.println("It´s OK");
>> }
>>
>> The result is: "It´s OK".
>> I have seen (debugging) that the rawData attribute of Image instance has
>> data (it isn't empty).
>
>
> Someone asked for a "standalone" example and the faulty PDF - looks like
> you covered yourself in the code...
>

Sorry, I don't understand you very well. I attach the faulty PDF (if what
you mean).


>
> Of course, the 2nd image is VERY small (18x18) - have you tried
> substituting with a larger one (like copying the sonar to a new name and
> trying it). I wonder if its just something weird about scaling the 2nd
> image.
>

With another small image it works (attached image). Looks like it doesn't
work only with my small image :(


>
>
> Any other idea?
>
>
> None! Besides those mentioned.
>
> Brian
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Buy the iText book: http://www.1t3xt.com/docs/book.php
>



-- 
* Antonio Manuel Muñiz
* amunizmartin.wordpress.com
* amunizmar...@gmail.com

<<attachment: lowagie_3d.png>>

Attachment: image-test.pdf
Description: Adobe PDF document

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to