Hello,
Another solution for addTemplateImage is that you can set width, height and dpi using custom values. For example:
* width (mixed): the value in cm (float) or 'auto' (use image size)
* height (mixed): the value in cm (float) or 'auto' (use image size)
* dpi (int): dots per inch. This parameter is only taken into account if width or height are set to auto.
public function addTemplateImage($var, $pathImage, $options = array())
and the same in addImage. If you're using HTML you can set width and height in image tag.
Regards.