# How to render a portion of the image through command line with background image

My question is related to this question, in fact I use a compositing node to add a background image to the scene and it stays centered in each rendered image, what I don't want.

This is the py code I'm using;

scene.render.use_border = True
scene.render.use_crop_to_border = True
scene.render.border_max_x = .5
scene.render.border_min_x = 0
scene.render.border_min_y = 0
scene.render.border_max_y = 1
scene.render.tile_x = 32
scene.render.tile_y = 32


Maybe I can add a similar code for the background image but I don't know enough blender python api.