I think that was the first thing I tried.
It might have something to do with the actual image itself.
Images created with th PHP/GD routines come up with acceptable results.

Thanks,

Eric

Quoting Dan Lowe <[EMAIL PROTECTED]>:

> Previously, Eric Knudstrup said:
> > I am having an issue with 4.0.5 where the following code snippet:
> > 
> >             $orig = imagecreatefromjpeg($tmp);
> >             echo 'orig x: ' . imagesx($orig) . ' orig y: ' .
> imagesy($orig)
> > . '<br>';
> >             $orig_size = getimagesize($tmp);
> >             echo "orig x:  $orig_size[0] orig y: $orig_size[1]
> <br>";
> 
> have you tried this as the last line instead?
> 
>     echo 'orig x: ' . $orig_size[0] . ' orig y: ' . $orig_size[1] .
> '<br>';
> 
>  -dan
> 
> > produces:
> > 
> > orig x: 1200 orig y: 1600
> > orig x: orig y:
> > 
> > The test image was produced from my Canon S100 and the Canon image
> > downloading software.
> > 
> > Can anyone help?
> > 
> > Thanks,
> > 
> > Eric
> > 
> > 
> > -- 
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
> 
> -- 
> All good technology should be used to piss off people's parents. -Neil
> Gaiman
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to