Claims
- 1. A method for compressing binary and bi-level image data, the method comprising:
retaining individual byte image data values that are different from a same row byte that is n-bytes back; and for each retained byte image data value, encoding individual byte image data values for bytes in a current byte row with replacement data strings wherein the replacement data strings include a replacement positioning code and a replacement count code for replicating retained byte image data values for subsequent data decompression as a group of substantially identical byte values.
- 2. A method as recited in claim 1, wherein n is selected such that 1≦n≦a total of the same row bytes minus one byte.
- 3. A method as recited in claim 1, wherein an individual retained byte value is not different from the same row byte when the individual retained byte value only differs within a predetermined threshold amount from a byte value corresponding to the same row byte.
- 4. A method as recited in claim 1, wherein encoding individual byte image data values further comprises replacing byte image data values for a current byte with a replacement data string.
- 5. A computer-readable medium comprising computer-executable instructions for compressing binary and bi-level image data, the computer-executable instructions comprising instructions for:
retaining individual byte image data values that are different from a same row byte that is n-bytes back; and for each retained byte image data value, encoding individual byte image data values for bytes in a current byte row with replacement data strings wherein the replacement data strings include a replacement positioning code and a replacement count code for replicating retained byte image data values for subsequent data decompression as a group of substantially identical byte values.
- 6. A computer-readable medium as recited in claim 5, wherein n is selected such that 1≦n≦a total of the same row bytes minus one byte.
- 7. A computer-readable medium as recited in claim 5, wherein an individual retained byte value is not different from the same row byte when the individual retained byte value only differs within a predetermined threshold amount from a byte value corresponding to the same row byte.
- 8. A computer-readable medium as recited in claim 5, wherein the instructions for encoding individual byte image data values further comprise instructions for replacing byte image data values for a current byte with a replacement data string.
- 9. A computing device comprising:
a processor; and a memory comprising computer-executable instructions for compressing binary and bi-level image data, the processor being configured to fetch and execute the computer-executable instructions comprising instructions for:
retaining individual byte image data values that are different from a same row byte that is n-bytes back; and for each retained byte image data value, encoding individual byte image data values for bytes in a current byte row with replacement data strings wherein the replacement data strings include a replacement positioning code and a replacement count code for replicating retained byte image data values for subsequent data decompression as a group of substantially identical byte values.
- 10. A computing device as recited in claim 9, wherein n is selected such that 1≦n≦a total of the same row bytes minus one byte.
- 11. A computing device as recited in claim 9, wherein an individual retained byte value is not different from the same row byte when the individual retained byte value only differs within a predetermined threshold amount from a byte value corresponding to the same row byte.
- 12. A computing device as recited in claim 9, wherein the instructions for encoding individual byte image data values further comprise instructions for replacing byte image data values for a current byte with a replacement data string.
- 13. A computing device for compressing binary and bi-level image data, the computing device comprising:
processing means for:
retaining individual byte image data values that are different from a same row byte that is n-bytes back; and for each retained byte image data value, encoding individual byte image data values for bytes in a current byte row with replacement data strings wherein the replacement data strings include a replacement positioning code and a replacement count code for replicating retained byte image data values for subsequent data decompression as a group of substantially identical byte values.
- 14. A computing device as recited in claim 13, wherein n is selected such that 1≦n≦a total of the same row bytes minus one byte.
- 15. A computing device as recited in claim 13, wherein an individual retained byte value is not different from the same row byte when the individual retained byte value only differs within a predetermined threshold amount from a byte value corresponding to the same row byte.
- 16. A computing device as recited in claim 13, wherein the means for encoding individual byte image data values further comprise means for replacing byte image data values for a current byte with a replacement data string.
- 17. A method for compressing grayscale image data, the method comprising:
retaining individual byte image data values that are different from both a preceding row same column byte and a horizontally adjacent same row preceding byte; and for each retained byte image data value, encoding individual byte image data values for bytes in a current byte row with replacement data strings wherein the replacement data strings include a replacement positioning code and a replacement count code for replicating retained byte image data values for subsequent data decompression as a group of substantially identical byte values.
- 18. A method as recited in claim 17, wherein the preceding row same column byte is a byte in a byte row superjacent to a current byte in a current row.
- 19. A method as recited in claim 17, wherein the horizontally adjacent preceding byte is an immediately previous byte of the current byte in the current byte row under data compression processing.
- 20. A method as recited in claim 17, wherein a retained individual byte data value is not different from a set of bytes comprising the preceding row same column byte and the horizontally adjacent same row preceding byte when the retained individual byte data value only differs within a predetermined threshold amount from respective byte valued that correspond to each byte in the bytes.
- 21. A method as recited in claim 17, wherein encoding individual byte image data values further comprises replacing byte image data values for a current byte with a replacement data string.
- 22. A computer-readable medium comprising computer-executable instructions for compressing grayscale image data, the computer-executable instructions comprising instructions for:
retaining individual byte image data values that are different from both a preceding row same column byte and a horizontally adjacent same row preceding byte; and for each retained byte image data value, encoding individual byte image data values for bytes in a current byte row with replacement data strings wherein the replacement data strings include a replacement positioning code and a replacement count code for replicating retained byte image data values for subsequent data decompression as a group of substantially identical byte values.
- 23. A computer-readable medium as recited in claim 22, wherein the preceding row same column byte is a byte in a byte row superjacent to a current byte in a current row.
- 24. A computer-readable medium as recited in claim 22, wherein the horizontally adjacent preceding byte is an immediately previous byte of the current byte in the current byte row under data compression processing.
- 25. A computer-readable medium as recited in claim 22, wherein encoding individual byte image data values further comprises replacing byte image data values for a current byte with a replacement data string.
- 26. A computing device comprising:
a processor; and a memory coupled to the processor, the memory comprising computer-readable medium comprising computer-executable instructions for compressing grayscale image data, the processor being configured to fetch and execute the computer-executable instructions comprising instructions for:
retaining individual byte image data values that are different from both a preceding row same column byte and a horizontally adjacent same row preceding byte; and for each retained byte image data value, encoding individual byte image data values for bytes in a current byte row with replacement data strings wherein the replacement data strings include a replacement positioning code and a replacement count code for replicating retained byte image data values for subsequent data decompression as a group of substantially identical byte values.
- 27. A computing device as recited in claim 26, wherein the preceding row same column byte is a byte in a byte row superjacent to a current byte in a current row.
- 28. A computing device as recited in claim 26, wherein the horizontally adjacent preceding byte is an immediately previous byte of the current byte in the current byte row under data compression processing.
- 29. A computing device as recited in claim 26, wherein encoding individual byte image data values further comprises instructions for replacing byte image data values for a current byte with a replacement data string.
- 30. A computing device comprising:
processing means for:
retaining individual byte image data values that are different from both a preceding row same column byte and a horizontally adjacent same row preceding byte; and for each retained byte image data value, encoding individual byte image data values for bytes in a current byte row with replacement data strings wherein the replacement data strings include a replacement positioning code and a replacement count code for replicating retained byte image data values for subsequent data decompression as a group of substantially identical byte values.
- 31. A computing device as recited in claim 30, wherein the preceding row same column byte is a byte in a byte row superjacent to a current byte in a current row.
- 32. A computing device as recited in claim 30, wherein the horizontally adjacent preceding byte is an immediately previous byte of the current byte in the current byte row under data compression processing.
- 33. A computing device as recited in claim 30, wherein encoding individual byte image data values further comprises means for replacing byte image data values for a current byte with a replacement data string.
RELATED APPLICATIONS
[0001] This patent application is related to U.S. patent application Ser. No. 09/193,321, titled “Compound Document Page Data Compression”, which was filed on Nov. 16, 1998, which is assigned to the assignee hereof, and which is hereby incorporated by reference.