Bug 691382 - Luratech JPEG2000 decoder problems
Summary: Luratech JPEG2000 decoder problems
Status: RESOLVED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Writer (show other bugs)
Version: 8.71
Hardware: All All
: P4 normal
Assignee: Lars Uebernickel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-11 08:00 UTC by Masaki Ushizaka
Modified: 2010-12-07 22:20 UTC (History)
3 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 Masaki Ushizaka 2010-06-11 08:00:00 UTC
Luratech JPEG2000 decoder seems having problems with some of our test files.  I confirmed symptoms with trunk r11365 + luratech lwf_jp2 r10.

- tests/pdf/j2kp4-file2-ycc-8bpc.pdf
Wrong color.

- tests/pdf/j2kp4-file3-ycc-8bpc.pdf
Wrong color and different resolution in color channel?

- tests/pdf/j2kp4-file6-gray-12bpc.pdf
Using lower 8 bits?

- tests/pdf/j2kp4-file7-icc-3ch-12bpc.pdf
Using wrong bits?

- tests/pdf/j2kp4-file9-palette.pdf
Infinite loop.

- tests_private/comparefiles/Bug690174.pdf
Slanted gray image on Mac, slanted image plus black bars on Linux.

Those could be luratech library problem or our glue routine problem.  I may divide this bug into several later.
Comment 1 Henry Stiles 2010-08-10 21:16:43 UTC
Hello voipas@gmail.com, maybe you accidentally changed this bug?  It is not a pdfwrite issue and should not be have been reassigned.
Comment 2 Ken Sharp 2010-08-11 07:17:36 UTC
(In reply to comment #1)
> Hello voipas@gmail.com, maybe you accidentally changed this bug?  It is not a
> pdfwrite issue and should not be have been reassigned.

Any idea who this should belong to now Henry ?
Comment 3 Henry Stiles 2010-09-02 17:02:30 UTC
(In reply to comment #0)
> Luratech JPEG2000 decoder seems having problems with some of our test files.  I
> confirmed symptoms with trunk r11365 + luratech lwf_jp2 r10.
> 
> - tests/pdf/j2kp4-file2-ycc-8bpc.pdf
> Wrong color.
> 
> - tests/pdf/j2kp4-file3-ycc-8bpc.pdf
> Wrong color and different resolution in color channel?
> 
> - tests/pdf/j2kp4-file6-gray-12bpc.pdf
> Using lower 8 bits?
> 
> - tests/pdf/j2kp4-file7-icc-3ch-12bpc.pdf
> Using wrong bits?
> 
> - tests/pdf/j2kp4-file9-palette.pdf
> Infinite loop.
> 
> - tests_private/comparefiles/Bug690174.pdf
> Slanted gray image on Mac, slanted image plus black bars on Linux.
> 
> Those could be luratech library problem or our glue routine problem.  I may
> divide this bug into several later.




From Luratech:

All the problems mentioned in the bug are issues related to processes after
decompression: color conversion, scaling of bit depth etc...

We used the conformance test suite to ensure the correctness of our decoder
since the first versions of the SDK. Our JP2 decoder decompresses the JP2 images
correctly.
You should make sure that the color space, ICC profiles, palettes, chroma
subsampling and bit depth are respected and handled correctly in the Ghostscript
code.
Comment 4 Marcos H. Woehrmann 2010-10-22 04:51:50 UTC
The following files are also incorrectly rendered by the Luratech decoder:

tests_private/pdf/PDF_1.7_FTS/fts_17_1700.pdf
tests_private/pdf/PDF_1.7_FTS/fts_17_1701.pdf
tests_private/pdf/PDF_1.7_FTS/fts_17_1702.pdf
tests_private/pdf/PDF_1.7_FTS/fts_17_1703.pdf
tests_private/pdf/PDF_1.7_FTS/fts_17_1704.pdf
tests_private/pdf/PDF_1.7_FTS/fts_17_1705.pdf
tests_private/pdf/PDF_1.7_FTS/fts_17_1714.pdf
tests_private/pdf/PDF_1.7_FTS/fts_17_1715.pdf
tests_private/pdf/PDF_1.7_FTS/fts_17_1716.pdf
tests_private/pdf/PDF_1.7_FTS/fts_17_1718.pdf
tests_private/pdf/PDF_1.7_FTS/fts_18_1804.pdf
tests_private/pdf/PDF_1.7_FTS/fts_18_1805.pdf
tests_private/pdf/PDF_1.7_FTS/fts_18_1812.pdf
tests_private/pdf/PDF_1.7_FTS/fts_19_1900.pdf
tests_private/pdf/PDF_1.7_FTS/fts_19_1906.pdf
tests_private/pdf/PDF_1.7_FTS/fts_25_2502.pdf
tests_private/pdf/PDF_1.7_FTS/fts_25_2504.pdf
tests_private/pdf/PDF_1.7_FTS/fts_25_2505.pdf
tests_private/pdf/PDF_1.7_FTS/fts_25_2508.pdf
tests_private/pdf/PDF_1.7_FTS/fts_25_2509.pdf
tests_private/pdf/PDF_1.7_FTS/fts_25_2512.pdf
tests_private/pdf/PDF_1.7_FTS/fts_27_2706a.pdf
tests_private/pdf/PDF_1.7_FTS/fts_27_2706b.pdf
tests_private/pdf/PDF_1.7_FTS/fts_27_2706c.pdf
tests_private/pdf/PDF_1.7_FTS/fts_27_2706d.pdf
Comment 5 Henry Stiles 2010-11-15 02:48:46 UTC
Hello Lars can you check which of these problems are still open after the work you and Alex did with the Luratech decoder?
Comment 6 Alex Cherepanov 2010-12-07 22:20:20 UTC
I've reviewed all differences between Luratech and Jasper in our test suite.
Luratech renders everything correctly.
Jasper doesn't recognize an eYCC color space in
j2kp4-file2-eycc-8bpc.pdf