1. A method of decoding an encoded digital image, the encoded data of the image comprising a plurality of predefined resolutions, comprising the steps of: selecting a resolution lower than the highest of the predefined resolutions, determining the predefined resolution immediately above the selected resolution, determining a quantity of data of the determined predefined resolution, as a function of the ratio between the selected resolution and the determined predefined resolution, decoding the image at the determined predefined resolution, as a function of the determined quantity of data, subsampling the decoded image, as a function of the ratio between the selected resolution and the determined predefined resolution.