Bug 690545 - confirm JPXDecode streams support 12 and 16 bit
Summary: confirm JPXDecode streams support 12 and 16 bit
Status: RESOLVED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: JPX/JBIG2 encode/decode (show other bugs)
Version: master
Hardware: PC Linux
: P4 normal
Assignee: Alex Cherepanov
URL:
Keywords: bountiable
Depends on:
Blocks:
 
Reported: 2009-06-17 22:43 UTC by Ralph Giles
Modified: 2012-04-10 03:59 UTC (History)
2 users (show)

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Giles 2009-06-17 22:43:52 UTC
Currently we assume JPXDecode images are always 8 bits per component. With r9801
I added support for 4 bpp grayscale.

We need to handle the full range of possible bit depths in PDF, and scale things
appropriately if the stream doesn't agree with the /BitsPerComponent key in the
image dictionary.
Comment 1 Ray Johnston 2009-06-18 11:00:24 UTC
Please attach sample files in some of the desired formats so that someone
can work on these. I've marked it bountiable.
Comment 2 Ray Johnston 2010-08-23 15:05:10 UTC
I think Michael and/or Alex already fixed this. One of the PDF 1.7 FTS files
has 16-bit JPX images.
Comment 3 Ray Johnston 2010-09-02 16:47:35 UTC
Michael Vrhel fixed this for jasper. We need to confirm that these work with
OpenJpeg as well.
Comment 4 Alex Cherepanov 2012-04-10 03:59:15 UTC
OpenJpeg currently supports all the files in our test suite.