chain image to raw