""Eric Knudstrup"" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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>";
>
> 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.

I might have the same problem with PHP 4.0.5 (win2k). Some of the images
from my Kodak DC-260 digital camera, are not recognized correctly by
getimagesize for some reason..

Example:

<?php
   $imagehw     =
GetImageSize("http://maasdelta.eve-software.com/foto/kinderspelen/P0007811.J
PG");
   print $imagehw     . "<BR>";
   print $imagehw[0]  . "<BR>";
   print $imagehw[1]  . "<BR>";
   print $imagehw[3]  . "<BR>";
?>
<IMG SRC="http://maasdelta.eve-software.com/foto/kinderspelen/P0007811.JPG";>

This image is just a normal JPG (1536x1024) taken directly from my camera.

GetImageSize however, thinks it's dimensions are: 51088x38655 ??? This also
happens when I access the file from a local drive.

Anyone got a clue ?

Edwin.



-- 
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