The image can be scaled at the same time.
The cpdf_place_inline_image() function places an image created with the php image functions on the page at postion (x-coor, y-coor). The image can be scaled at the same time.