Re: [PHP] Converting PCX to ...
Thanks, installed and working Miguel Cruz [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Converting PCX to ...
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 [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Converting PCX to ...
batch files rock! :o) Bb [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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 [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Converting PCX to ...
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php