insert image to RTF file using PHP

↘锁芯ラ 提交于 2019-12-11 17:00:14

问题


How can I insert an image to an RTF file. Inside the RTF file there is a placeholder text like {photo}. I want to place the image at this position using php.


回答1:


I found an open source PHP library that allows insertion of images to PHP-generated RTF documents. It's called PHPRTF.

Here's the sample code that inserts images: link



来源:https://stackoverflow.com/questions/1135485/insert-image-to-rtf-file-using-php

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!