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 to generate a first compressed digital image; determine a difference between at least a portion the uncompressed digital image and a corresponding portion of the first compressed digital image to generate difference image data; determine, based on the difference image data, a first amount of errors in the first compressed digital image; compare the first amount of errors to an error threshold included in the compression rule; in response to determining that the first amount of errors exceeds the error threshold, recompress, based on the compression rule, the uncompressed digital image to generate a second compressed digital image having a level of compression less than the first compressed digital image; and determine a second amount of errors based on comparison of the second compressed digital image to the uncompressed digital image.