Lossy compression works by eliminating some of the image data deemed less important. While this can reduce file size considerably, it may also introduce artifacts or a loss of fine details. In histology, the challenge is to balance the degree of compression with the acceptable level of quality loss. Too much compression can obscure important cellular details, which could lead to inaccurate diagnoses.