Re: Converting PCX to ...
| From: | BB | Date: | Tue, 09 Jul 2002 11:50:35 +0000 |
| Subject: | Re: Converting PCX to ... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-106340@lists.php.net to get a copy of this message | ||
I got a problem with that!
I've written a batch file that sits in the same dir as the PHP script and
when I exec it, it doesn't work! I've thouroghly thrashed the batch file
for errors and it came up ok every time. if I echo the exec it only returns
the first line of the batch file.
Anyone?
"Richard Lynch" <rich@phpbootcamp.com> wrote in message
news:php.general-106311@news.php.net...
> >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.
>
> I think you will be stuck with using http://php.net/exec to run
> some
> external process to convert them.
>
> Image Magik seems to convert almost every format known to man...
>
> --
> Like Music? http://l-i-e.com/artists.htm
>