and some observations about JIMI, including that i can't
seem to get it to work. :-(
based on my JAI experiences, here's my experiences with
building/using JIMI.
first, in terms of building, FOP is again sort of flexible
when it comes to recognizing a JIMI archive. despite what
the documentation ways, the JIMI file copied under {fop}/lib
doesn't *have* to be called jimi-1.0.jar. from my tests,
jimi.jar seems to work fine since that name still generates
the confirmation:
"[echo] Jimi library is present. Installing Jimi support."
however, it's *not* acceptable to just call it "Jimi.jar",
which seems a bit draconian since, as shipped from Sun, the
name seems to be JimiProClasses.jar, and that name is also
not recognized. it would be nice if the build at least
accepted the archive name as it came from Sun itself, no?
just being pedantic.
anyway, the bigger problem is that, after the build,
any graphics that require JIMI just don't render. i created
a sample document using Linux's "import" command and
created a single example of every single format listed
at the FOP web page.
*none* of the formats that are listed as being supported
by JIMI were rendered. an excerpt of the output:
...
[WARNING] Some static content could not fit in the area.
[WARNING] Some static content could not fit in the area.
[INFO] [27]
[WARNING] Some static content could not fit in the area.
[WARNING] Some static content could not fit in the area.
[INFO] [28]
[INFO] [29]
[ERROR] Could not load external SVG: Content is not allowed in prolog.
[ERROR] Error while creating area : No ImageReader for this type of image
(file:xclock.pcx)
[INFO] [30]
[ERROR] Could not load external SVG: Content is not allowed in prolog.
[ERROR] Error while creating area : No ImageReader for this type of image
(file:xclock.pict)
[WARNING] Some static content could not fit in the area.
[WARNING] Some static content could not fit in the area.
[INFO] [31]
[WARNING] Some static content could not fit in the area.
[WARNING] Some static content could not fit in the area.
[INFO] [32]
[ERROR] Could not load external SVG: Content is not allowed in prolog.
[ERROR] Error while creating area : No ImageReader for this type of image
(file:xclock.pnm)
[WARNING] Some static content could not fit in the area.
[WARNING] Some static content could not fit in the area.
[INFO] [33]
[ERROR] Could not load external SVG: Content is not allowed in prolog.
[ERROR] Error while creating area : No ImageReader for this type of image
(file:xclock.psd)
[WARNING] Some static content could not fit in the area.
[WARNING] Some static content could not fit in the area.
[INFO] [34]
[ERROR] Could not load external SVG: Content is not allowed in prolog.
[ERROR] Error while creating area : No ImageReader for this type of image
(file:xclock.ras)
[INFO] [35]
[ERROR] Could not load external SVG: Content is not allowed in prolog.
[ERROR] Error while creating area : No ImageReader for this type of image
(file:xclock.tga)
[INFO] [36]
[INFO] Reverting to TIFF image handling through JAI: Error while loading image
file:xclock.tiff : class org.apache.fop.image.TiffImage - unsupported samples
per pixel value 3
[WARNING] Some static content could not fit in the area.
[WARNING] Some static content could not fit in the area.
[INFO] [37]
[ERROR] Could not load external SVG: Content is not allowed in prolog.
[ERROR] Error while creating area : No ImageReader for this type of image
(file:xclock.xbm)
[WARNING] Some static content could not fit in the area.
[WARNING] Some static content could not fit in the area.
[INFO] [38]
[ERROR] Could not load external SVG: Content is not allowed in prolog.
[ERROR] Error while creating area : No ImageReader for this type of image
(file:xclock.xpm)
[WARNING] Some static content could not fit in the area.
....
the JAI-rendered .png images showed up nicely, but from what i can see,
every single format that's listed as being supported by JIMI failed to be
rendered.
so ... what did i screw up *this* time?
rday
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]