Patent ID: 8922400

Claim:
A method for compressing a sequence of initial digital values in a first digital image, audio and/or video file into a compressed sequence of compressed values in a second digital image, audio and/or video file, intending to restore compressed values into a decompressed sequence of decompressed values in a third digital image, audio and/or video file, comprising: for a first initial value of the sequence, setting the compressed value of the first initial value equal to said first initial value and setting the decompressed value of said compressed value of the first initial value equal to said first initial value, and, for each current initial value, the following steps are carried out, in order: calculating a difference between the current initial value and the decompressed value of an initial value immediately preceding the current initial value; calculating a compressed value of said difference using a complementary compression function; calculating the decompressed value corresponding to said current initial value; applying the steps of calculating a difference, calculating a compressed value and calculating a decompressed value, to an immediately following value if there is one; and, constituting the compressed sequence of the compressed values, each corresponding to a respective initial value.