1. A method comprising: replacing at least one portion of binary image data with at least one other portion of the binary image data; compressing the binary image data; and determining whether the compressed binary image data having at least one replaced portion satisfies a target compression ratio.