Patent ID: 7460724

Claim:
A method for converting a JPP-STREAM to a JPEG 2000 codestream, the method comprising: accessing a JPP-STREAM; and converting the JPP-STREAM to a JPEG 2000 codestream by writing a main header data-bin to an output JPEG 2000 codestream with a marker segment specifying use of a progression order with a layer progression last; for each tile of the JPP-STREAM, writing a legal tile header; writing an SOT marker segment to the output JPEG 2000 codestream; for each component, position and resolution in said each tile, and based on the specified progression order, determining a number of completely received layers, writing one or more bytes of precinct data-bin corresponding to completed layers to the output JPEG 2000 codestream, writing an empty packet header for each packet of each layer that is not complete, Updating the SOT marker segment to adjust a length to the number of bytes of packet data; converting layers in the JPP-STREAM to a single quality layer in the output JPEG 2000 codestream, wherein a single packet header is written to the output JPEG 2000 codestream corresponding to the single quality layer to replace redundant packet headers for the single quality layer; and writing an EOC marker at the end of the output JPEG 2000 codestream.