By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,825 Members | 1,270 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,825 IT Pros & Developers. It's quick & easy.

merge (concatenate) a 'png' file

P: n/a
Hello,

I am looking for a solution of the next problem. I have to produce a A4
page in which two 'png' pictures above the page and some text at below
of the page have been made. I have used the 'fpdf' file to produce the
text of this file in 'pdf' format.
But I don't know how I can make a 'pdf' format from a 'png' format
inside a 'php' script! Would somebody help me to solve this problem?

With regards
Nader
Jan 25 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Nader Emami wrote:
But I don't know how I can make a 'pdf' format from a 'png' format
inside a 'php' script! Would somebody help me to solve this problem?
If ImageMagick is installed on the server, you could call /usr/bin/convert
with system(). This would be able to convert from PDF to PNG. There are
probably some ImageMagick wrapper modules in PEAR.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

Jan 25 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.