Image adaptation