JPEGmini operates on a similar principle to Beamr. The JPEGs coming out of your camera are compressed with a very high (wasteful) quantizer setting, so JPEGmini analyzes the image and recompresses with a much lower but visually identical quantizer setting.