This example program is located in your CVB installation under %CVB%Tutorial/Image Manager/CVBpy/ImageLoadSave
.
image_load_save.py:
import os
import cvb
print("Loaded image size: " + str(src_image.width) + " x " + str(src_image.height))
dst_image = src_image.map(src_image.bounds,
cvb.Size2D(src_image.size.width * 2, src_image.size.height * 3))
print("Mapped image size: " + str(dst_image.width) + " x " + str(dst_image.height))
dst_image.save("Clara23.bmp")