"Anthony Ritter" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'd like to use (with permission) .jpg files from a webcam from another
URL.
>
> Once that URL is opened and read via PHP as a file into my site is it
> possible to resize that image?   It measures 640 x 480 pixels and I would
> like to reduce the image size by 25%.

To reduce its display size in an img tag, specify 640 * .75 for the width
(assuming 640 is for width) and 480 * .75 for the height.  If you actually
want to reduce the size of the image, then look at PHP's image-related
functions (and the GD library).

Steve



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

Reply via email to