Text this: Digital image compression for a 2f multiplexing optical setup