xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Edwards <grant.b.edwa...@gmail.com>
Subject Re: FOP error when fed asciidoc .fo file
Date Wed, 08 Sep 2010 18:57:43 GMT
On 2010-09-08, Grant Edwards <grant.b.edwards@gmail.com> 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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message