Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6197584
Votes 0
Synopsis JPEG 2000: Bits per sample is not correctly transcoded between standard and native image metadata
Category jai:codec_imageio
Reported Against
Release Fixed 1.0_01
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs
Submit Date 19-NOV-2004
Description
The number of bits per sample is not correctly transcoded between standard and native image metadata. The bits field representation for a number of bits N in JPEG 2000 is

B = (isSigned ? 0x80 : 0x00) | ((N - 1)&0x7f)
  xxxxx@xxxxx   2004-11-19 01:10:12 GMT
Work Around
N/A
Evaluation
Native -> Standard

Wrong mask being used to derive bit count from JPEG 2000 field: 0x80 instead of 0x7f.

Standard-> Native

Values used straightaway without proper conversion.
  xxxxx@xxxxx   2004-11-19 01:10:12 GMT
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang