On 2010-09-08, Grant Edwards <[email protected]> wrote:
> I'm trying to use fop as a backend for the asciidoc text-markup
> system. All was sell until I tried to include a .png file that
> contains a rendering of an equation (produced auto-magically by
> asciidoc using LaTeX and dvipng).
>
> I get an error:
>
> SEVERE: Error while rendering page 1
> java.lang.NullPointerException: Parameter alpha must not be null
>
> [full output from fop is below]
>
> If I replace the .png file with something I generate using the
> "import" command from ImageMagick, then everything is fine.
>
> Other image viewers seem happy enough with the .png file upon which
> fop is choking. If I just run the .png file through convert and set
> the background to white instead of transparant, then fop is happy.
Actually I don't even have to change the backround. Fop works fine
after running the .png file though 'convert' with no arguments other
than the input/output files.
--
Grant Edwards grant.b.edwards Yow! I am a jelly donut.
at I am a jelly donut.
gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]