Patent ID: 7581027

Claim:
A client computer system for processing codestreams, the client computer system comprising: a memory having an application and a data structure stored therein, wherein the data structure identifies positions of compressed codestream on a server and identifies data of the compressed codestream already buffered at the client; and a processor coupled to the memory to execute the application to generate a request for portions of the compressed codestream that are not already stored in the memory from the server based on indications of which portions of the codestream are already stored in the memory as indicated by the data structure, wherein size of the requested portions is determined based on at least two of resolution, layer, component, and precinct of an image specified by a user of the client, and wherein the size of the requested portion is derived from the data structure of the client corresponding to the user specified at least two of resolution, layer, component, and precinct of the image, wherein the processor, prior to decoding, integrates previously buffered portions of the compressed codestream with portions of the compressed codestream received as a result of the request to create a new codestream having markers by putting packets in the order the packets appeared in the compressed codestream and by updating the codestream markers to reflect that the previously buffered portions of the compressed codestream and the portions of the compressed codestream received as a result of the request are parts of the new codestream, wherein the client to generate image data by decoding the new codestream, wherein the codestream markers include a Tile Length Marker (TLM) and Packet Length Marker (PLM) that provide a byte map to each of the packets, each of the packets being distinguishable by tile, component, resolution, and layer, wherein the processor adjusts values of at least the TLM and PLM markers to reconstruct the compressed codestream from a non-JPEG 2000 compliant format to the new JPEG 2000 compliant codestream, including adjusting the TLM and PLM markers to be compatible with corresponding markers of the JPEG 2000 standard, so that an ordinary JPEG 2000 decoder can be invoked to decode the new codestream if the portions of the compressed codestream received as a result of the request are not JPEG 2000 compliant.