Bug 52736 - Cannot generate JPEG as output format
Summary: Cannot generate JPEG as output format
Status: NEEDINFO
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: images (show other bugs)
Version: 1.0
Hardware: PC All
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-21 22:57 UTC by Paul
Modified: 2012-04-24 05:49 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul 2012-02-21 22:57:18 UTC
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
Comment 1 Luis Bernardo 2012-03-30 23:28:23 UTC
Can you provide more information and an example? Do you call that ImageWriter directly? FOP selects it? And if so, how did you configure it?
Comment 2 Glenn Adams 2012-04-07 01:37:04 UTC
resetting severity from major to normal pending further review
Comment 3 Glenn Adams 2012-04-07 01:44:02 UTC
resetting P2 open bugs to P3 pending further review
Comment 4 Glenn Adams 2012-04-08 04:40:33 UTC
please provide a *minimal* input FO file including all referenced images, output JPEG file, and console output as a file
Comment 5 Glenn Adams 2012-04-24 05:49:13 UTC
(In reply to comment #4)
> please provide a *minimal* input FO file including all referenced images,
> output JPEG file, and console output as a file

Paul, I am still awaiting your input as requested above. if I see no further input by April 30, I will close this bug due to lack of requested information. Regards, Glenn