1. A method of digital image compression, the method comprising: causing execution of software instructions by one or more hardware computing devices in order to: receive an uncompressed digital image; determine a characteristic associated with the uncompressed digital image; access a compression rule associated with the characteristic; compress, based on the compression rule, the uncompressed digital image using each of a plurality of compression levels to generate a set of compressed digital images that are each compressed at different compression levels; for each of the compressed digital images of the set, determine a respective amount of errors based on comparison of the respective compressed digital images to the uncompressed digital image; and determine a first compressed digital image of the set that: is associated with an amount of errors that satisfies a threshold defined by the compression rule, and is compressed at a highest compression level of the plurality of compression levels that has an amount of errors that satisfies the threshold defined by the compression rule.