1. A method for compressing an input image, comprising: determining a plurality of entropy code sets based upon statistically similar regions in the input image; generating one or more sub-resolution images including a first sub-resolution image comprising references to the plurality of entropy code sets, wherein each of said references indicates one of the entropy code sets used to encode a corresponding pixel in the input image; encoding the input image using the generated one or more sub-resolution images to control one or more compression parameters including an entropy code; and outputting at least the encoded input image and the generated one or more sub-resolution images as a compressed entropy coded image file.