ID:               32645
 User updated by:  smckenna at clanlineage dot com
 Reported By:      smckenna at clanlineage dot com
 Status:           Bogus
 Bug Type:         GetImageSize related
 Operating System: Linux
 PHP Version:      4.3.10
 New Comment:

I started reading up on streams (and classes) last night.  I wouldn't
have posted but I thought with images from the same camera, what worked
for one would for all.  I cut and pasted the sample code on the link you
provided and it worked.

Thanks for the quick reply and sorry to have bothered you.


Previous Comments:
------------------------------------------------------------------------

[2005-04-09 19:51:17] [EMAIL PROTECTED]

As the message says: Your stream doesn't support seeking 
so you need a stream_seek method... 
http://de2.php.net/stream_wrapper_register 
 

------------------------------------------------------------------------

[2005-04-09 19:34:30] smckenna at clanlineage dot com

Description:
------------
Purpose: upload images, store in db, write to PDF.
Problem: some JPEGs consistently fail on a getimagesize()
Error: "Warning: getimagesize(): stream does not support seeking in
/www/phototest.php on line 47"
Replicable: Yes.  I receive the same results on RedHat9 with PHP 4.3.10
and Debian (Sarge) with PHP 4.3.10-9
Config changes: I can only specify the Debian setup.  Fresh setup, only
the document root changed.

Test photos came from the same camera and were taken within minutes of
each other.
Photos are available at:
Error   
http://www.clanlineage.com/temp/IMG_0086.JPG   (132kb)
Success 
http://www.clanlineage.com/temp/IMG_0087.JPG   (113kb)

The included class is from other authors, so I have credited them in
the code.

Reproduce code:
---------------
http://www.clanlineage.com/temp/phototest.txt   (2kb)



Expected result:
----------------
Using JPEG image IMG_0087.JPG

Array ( [0] => 1024 [1] => 768 [2] => 2 [3] => width="1024"
height="768" [bits] => 8 [channels] => 3 [mime] => image/jpeg ) 


Actual result:
--------------
Using JPEG image IMG_0086.JPG

Warning: getimagesize(): stream does not support seeking in
/www/phototest.php on line 47



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=32645&edit=1

Reply via email to