adjust to raw image