As @Fabian said , you can use image_width and image_height . It is further assumed that the pixels are square. Then, any +H and +W settings will crop your image around, while keeping the height the same:
camera { location <0, 2, -3> look_at <0, 1, 2> right image_width/image_height*x }
I personally donβt understand why something like this is not the default, as most people care about the shape of the pixel and not about the proportion of the target screen. For example, I could make an image that should fill only a small part of the screen, but my pixels are square, then the work is higher. Or, if your pixels are twice as wide in height, just use right 2*image_width/image_height*x (a monitor with such pixels will effectively stretch the image along the X axis, so if you look at this image on a monitor with square pixels, the X axis) .
source share