Re: Loading icons out of a jar file

Mathias Payer <[email protected]> Sat, 18 Sep 2004 17:34:12 +0200
Newsgroups gmane.comp.embedded.carlsbad-cubes
Organization ETH Zurich
Message-ID <[email protected]>
Hi again!
I just wanted to say that I solved the problem.
After many hours I located the bug in my ant build.xml. In there was a
rule that copied all images to the classes directory where the jar was
build. 
The problem was now that the "filtering" option was on and destroyed all
images.
Some parts of the images still remained intact tough.
That was the source of my problem that img.width and height displayed
correct sizes but the rest of the image was corrupted and therefore not
displayed.
Another funny thing was that the sizes of the images were still the same
(after the incorrect filtering)

Everyhting is working as I replaced the wrong build-rule.
Now I can access load and display images with i18n! :)

My apologies for this mistake!

Greets Mathias

-- 
GPG-Key: http://relay.gmgnet.li/gpg-keys/payerm_student_ethz_ch.key
Kontakt-Infos: http://relay.gmgnet.li/mathias_payer/kontakt.html

_______________________________________________
Forum mailing list
[email protected]
http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iEYEARECAAYFAkFMVXcACgkQqkE3W4yIscGIhgCdHIMHlmNKs1PAQOFLdEyE7+KP
kgQAn03KF3q5YdyUejIAxVxH5YtLMFQA
=tTMz
-----END PGP SIGNATURE-----