[ 
https://issues.apache.org/jira/browse/FOP-2026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner resolved FOP-2026.
--------------------------------
    Resolution: Cannot Reproduce

> Cannot generate JPEG as output format
> -------------------------------------
>
>                 Key: FOP-2026
>                 URL: https://issues.apache.org/jira/browse/FOP-2026
>             Project: FOP
>          Issue Type: Bug
>          Components: image/unqualified
>    Affects Versions: 1.0
>         Environment: Operating System: All
> Platform: PC
>            Reporter: Paul
>
> Selecting JPEG as output format by using TIFF output with JPEG compression 
> and running FOP in embedded mode results in exception even though 24 bit mode 
> selected in FOP configuration file (rbg):  
> Caused by: javax.imageio.IIOException: Can only JPEG compress 8- and 24-bit 
> images!
>       at 
> com.sun.media.imageioimpl.plugins.tiff.TIFFBaseJPEGCompressor.encode(TIFFBaseJPEGCompressor.java:385)
>       at 
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageWriter.writeTile(TIFFImageWriter.java:2309)
>       at 
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageWriter.write(TIFFImageWriter.java:2686)
>       ... 28 more



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to