[PHP] Image Resolution

2005-01-26 Thread Martin Magnusson
Hi,

I have written a script that takes an uploaded jpeg-image and places it in a 
PDF-file with the PDFLib functions in php. The original image file is 560x420, 
72 dpi. Later on the PDF-file will be printed, and our printshop requires at 
least 200 dpi. The format of the printed image should be A6 (15,2x10,9 cm).

Is it possible to change resolution like this?

Thanks // Martin M

[PHP] Image Resolution

2005-01-26 Thread Martin Magnusson
Hi,
I have written a script that takes an uploaded jpeg-image and places it in a 
PDF-file with the PDFLib functions in php. The original image file is 
560x420, 72 dpi. Later on the PDF-file will be printed, and our printshop 
requires at least 200 dpi. The format of the printed image should be A6 
(15,2x10,9 cm).

Is it possible to change resolution like this?
Thanks // Martin M 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Undefined variables?

2002-11-18 Thread Martin Magnusson
I installed php 4.2.3 on Apache2.

When I write ? echo $anyvariable; ? I get an error message telling me that
I have an undefined variable $anyvariable. Is this something new that one
must declare all variables?

In my previous version of php the expression above would return an empty
string - no error messages...

Hope you understand my problem...

Martin Magnusson