Page 1 of 1

Problem generate PDF from article with image .png

Posted: 28 Feb 2014, 18:42
by astravouxhall83
Hello,
I have a problem with the component Phoca PDF.
Inside of my articles on Joomla! there are images in .png for transparency requirements of the fund. But when I go to generate the PDF does not work and I do not generate the file, I tried it with images .gif and instead runs quietly, even with pictures .jpg. But I need that I work with images in .png as I said, can you help me solve this problem?!

Thank you very much!

Joomla version: 2.5.18
Phoca PDF version: 2.0.7

Re: Problem generate PDF from article with image .png

Posted: 01 Mar 2014, 10:48
by Jan
Hi, see important notice here:
https://www.phoca.cz/phocapdf

PDF is not like HTML, many features are not valid for the PDF document. I think, the used pdf library is not able to produce transparent pngs, really not sure, but I think there is no such feature :idea:

Jan

Re: Problem generate PDF from article with image .png

Posted: 01 Mar 2014, 13:57
by astravouxhall83
I have developed a php script that regenerates me the image format .png on article in format .gif which is fine for the generation of the PDF. But I would understand how to put this script and where in the code that generates the PDF.
Can you help me? it is very important to me!

thanks

Re: Problem generate PDF from article with image .png

Posted: 02 Mar 2014, 23:54
by Jan
Hi, you can do it per content plugin, you can enable plugin support in Phoca PDF content plugin - so then the content plugins will be translated to content output - but of course, it is limited (html - x - pdf)

Jan