ID:               21676
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         GetImageSize related
 Operating System: RAQ4-Latest Patches/Apache 1.3.2
 PHP Version:      4.3.0
 New Comment:

This image returns null information on GetImageSize:
http://www.blackpeeps.com/IV/ecnirp/img3d6ea40af403a.jpg

This image does return correct Width and Height info:
http://www.blackpeeps.com/IV/ecnirp/img3e124d90c8123.jpg

I have even tried downloading the first and uploading back to server
to
make sure there is not a Binary file transfer issue. No luck. 

Here is a file that my Thumbnail script is not creating a thumbnail
for.
Well, actually, it creates a Blacked out thumbnail. The script uses (
GetImgageSize , imagecreatetruecolor, and ImageCreateFromJPEG ) 

http://www.blackpeeps.com/IV/ecnirp/img3cae54c4a3771.jpg


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

[2003-01-16 13:32:53] [EMAIL PROTECTED]

This image returns null information on GetImageSize:
http://www.blackpeeps.com/IV/ecnirp/img3d6ea40af403a.jpg

This image does return correct Width and Height info:
http://www.blackpeeps.com/IV/ecnirp/img3e124d90c8123.jpg";;

I have even tried downloading the first and uploading back to server to
make sure there is not a Binary file transfer issue. No luck. 

Here is a file that my Thumbnail script is not creating a thumbnail
for. Well, actually, it creates a Blacked out thumbnail. The script
uses ( GetImgageSize , imagecreatetruecolor, and ImageCreateFromJPEG )

http://www.blackpeeps.com/IV/ecnirp/img3cae54c4a3771.jpg

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

[2003-01-16 12:51:12] [EMAIL PROTECTED]

GetImageSize is not related to GD in anyway. Please provide a sample
image, which could be used to duplicate the problem you describe.

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

[2003-01-15 23:20:36] [EMAIL PROTECTED]

Recently upgraded to PHP 4.3.0 with GD-2.0.1
Scripts worked fine before upgrade. 
After 4.3.0 upgrade, Sometimes GetImageSize works (returns probper
width and height variables) and sometimes it does not (my resize
functions are defaulting to 1x2 pixels) 

At first I thought the problem was isolated to jpgs created with prior
version PHP 4.1.2 and GD-2.0.0 and imagecreatefromjpeg function.  Then
I noticed that there are photos were an image tag (imagecreatefromjpeg)
was not used. So the problem is only occuring with certain files.)



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


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

Reply via email to