[ 
https://issues.apache.org/jira/browse/FOP-2512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14791728#comment-14791728
 ] 

Stefan Quandt commented on FOP-2512:
------------------------------------

Section 3.5.3.2.1 "PDF issue" of
  https://jmodalwindow.java.net/manual/dpl/html_single/index.html
a) suggests  that this is not a new issue and
b) offers a workaround by removing transparency with 'convert -layers flatten' 
(ImageMagick)
  Subsequently restoring transparency with 'convert -transparent #FFFFFF' also 
works for me.


> java.lang.NullPointerException: Parameter alpha must not be null
> ----------------------------------------------------------------
>
>                 Key: FOP-2512
>                 URL: https://issues.apache.org/jira/browse/FOP-2512
>             Project: FOP
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Mathieu Malaterre
>
> fop is not capable of dealing with some PNG, it keeps on failing with:
> Error while rendering page 9
> java.lang.NullPointerException: Parameter alpha must not be null
> Exception
> java.lang.NullPointerException: Parameter alpha must not be null
> Input is:
> $ pnginfo test.png
> test.png...
>   Image Width: 411 Image Length: 225
>   Bitdepth (Bits/Sample): 8
>   Channels (Samples/Pixel): 1
>   Pixel depth (Pixel Depth): 8
>   Colour Type (Photometric Interpretation): PALETTED COLOUR with alpha (18 
> colours, 17 transparent) 
>   Image filter: Single row per byte filter 
>   Interlacing: No interlacing 
>   Compression Scheme: Deflate method 8, 32k window
>   Resolution: 0, 0 (unit unknown)
>   FillOrder: msb-to-lsb
>   Byte Order: Network (Big Endian)
>   Number of text strings: 0 of 0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to