You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Sharan, Dharmendra" <Dh...@gs.com> on 2002/01/25 17:34:28 UTC
PDF - displaying GIF under UNIX
Hi Fop Users,
Have you ever tried to display GIF images on Unix within PDF generated
using XSL FO ?
I am able to get the same working in Windoze, however on Unix it throws
an exception :-
java.lang.UnsatisfiedLinkError: exception occurred in JNI_OnLoad
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1298)
at java.lang.Runtime.loadLibrary0(Runtime.java:749)
at java.lang.System.loadLibrary(System.java:820)
at
sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:53)
at java.security.AccessController.doPrivileged(Native Method)
at
sun.awt.image.NativeLibLoader.loadLibraries(NativeLibLoader.java:41)
at sun.awt.image.GifImageDecoder.<clinit>(GifImageDecoder.java:367)
at
sun.awt.image.InputStreamImageSource.getDecoder(InputStreamImageSource.java:
222)
at sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:142)
at
sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:251
)
at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:217)
at sun.awt.image.ImageFetcher.run(ImageFetcher.java:185)
I am using JDK1.3, and have all the XSL FOP jars in the "CLASSPATH" and
LD_LIBRARY_PATH has "/opt/jdk-1.3/jre/lib/sparc"
Is there anything I am missing ? Any help appreciated.
Thanks!
Dharmendra
RE: PDF - displaying GIF under UNIX
Posted by Andy Heynderickx <an...@delen.be>.
hi,
yes, we have the same problem at our site. Could have something to do with
the lack of a 'canvas' on which to draw the image internally. but I'm not
sure though... Had the same problem with .bmp and .jpg images.
Andy
-----Original Message-----
From: Sharan, Dharmendra [mailto:Dharmendra.Sharan@gs.com]
Sent: vrijdag 25 januari 2002 17:34
To: 'fop-user@xml.apache.org'
Subject: PDF - displaying GIF under UNIX
Hi Fop Users,
Have you ever tried to display GIF images on Unix within PDF generated
using XSL FO ?
I am able to get the same working in Windoze, however on Unix it throws
an exception :-
java.lang.UnsatisfiedLinkError: exception occurred in JNI_OnLoad
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1298)
at java.lang.Runtime.loadLibrary0(Runtime.java:749)
at java.lang.System.loadLibrary(System.java:820)
at
sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:53)
at java.security.AccessController.doPrivileged(Native Method)
at
sun.awt.image.NativeLibLoader.loadLibraries(NativeLibLoader.java:41)
at sun.awt.image.GifImageDecoder.<clinit>(GifImageDecoder.java:367)
at
sun.awt.image.InputStreamImageSource.getDecoder(InputStreamImageSource.java:
222)
at sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:142)
at
sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:251
)
at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:217)
at sun.awt.image.ImageFetcher.run(ImageFetcher.java:185)
I am using JDK1.3, and have all the XSL FOP jars in the "CLASSPATH" and
LD_LIBRARY_PATH has "/opt/jdk-1.3/jre/lib/sparc"
Is there anything I am missing ? Any help appreciated.
Thanks!
Dharmendra