Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- merge (concatenate) a 'png' file
- Nader Emami
January 25, 2007, 9:37 am
rate this thread
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?
Re: merge (concatenate) a 'png' file
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
- » Just PHP will give you nothing unless you upgrade yourself
- — Previous thread in » PHP Scripting Forum