master: setup image compression