Re: Converting PCX to ...
| From: | Miguel Cruz | Date: | Mon, 08 Jul 2002 16:06:41 +0000 |
| Subject: | Re: Converting PCX to ... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-106108@lists.php.net to get a copy of this message | ||
On Mon, 8 Jul 2002, BB wrote:
> I'm writing a reporting system and I have a problem.
>
> I need to insert PCXs into a PDF (using PDFLib), but it doesn't support
> PCXs.
>
> So, to get round the problem, I need to convert the PCXs to JPGs or GIFs
>
> Does anyone know of a piece of PHP that can do this inline, (by that I mean,
> can be called and run in PHP script), because the images will have additions
> and modifications on a regular basis; and they come as PCXs.
You can do it with Imagemagick. As I recall, there used to be direct PHP
functions for Imagemagick but they have disappeared many versions ago, so
you'll have to run it via system() et al.
miguel