Re: Converting PCX to ...
| From: | BB | Date: | Tue, 09 Jul 2002 09:16:03 +0000 |
| Subject: | Re: Converting PCX to ... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-106273@lists.php.net to get a copy of this message | ||
im having problem getting this converter to work, im running the following
code:
exec("cmd /c f:; cd \Products\legacyipc\ipc_dev\Chapter 21; convert test.pcx
PDF_Cache\test.gif");
which is built from a load of data from a database.
Unfortunatly, nothing happens.
I don't see the new gif, and I don't get any errors. Nothing
Someone please help,
note: the location of the images cannot be changed
"Miguel Cruz" <mnc@stoic.net> wrote in message
news:Pine.LNX.4.44.0207081105460.10484-100000@stoic.net...
> 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
>