background = Image.open('nature.png')
car= car.rotate(random.randint(-3,3), resample=Image.BILINEAR, expand=1)
car_width, car_height = car.size
offset = ((1080 - car_width) // 2, (1080 -car_height) // 2)
background.paste(car, offset, car)
background.save(path_to_image, 'PNG')