.. _images: Images ******************** In PHPRtfLite you can add images to headers and footers, to table cells, and sections. Image resize ==================== You can specify the width and the height of the image in the RTF document. Note, that adding large images will cause large RTF documents, even if the images is scaled down by RTF. .. code-block:: php addImage($imageFile); // width to 1cm $image->setWidth(1); // height to 1cm $image->setHeight(1); Image border ==================== .. code-block:: php setBorder($border); Read more about creating borders here: :ref:`borders`.