ID:               10420
 Comment by:       ingpancho at hotmail dot coom
 Reported By:      klink at free dot fr
 Status:           Closed
 Bug Type:         GD related
 Operating System: W2000
 PHP Version:      4.0.4pl1
 New Comment:

Regarding this...

Corrupt JPEG data: premature end of data segment

gd-jpeg: JPEG library reports unrecoverable error: Unsupported marker

type 0x???

 I had this problem when I tried to upload certain files to a BLOB
field (mySQL database).

Resizing the field type to MEDIUMBLOB was the solution, at least for
me. Good luck.


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

[2001-06-03 07:27:03] [EMAIL PROTECTED]

Works for me with PHP 4.0.6RC2. Please try PHP 4.0.5 and 

if that does not work, wait for 4.0.6 to be released.



--Jani



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

[2001-04-29 06:32:40] [EMAIL PROTECTED]

Reclassify

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

[2001-04-20 06:37:50] klink at free dot fr

i use PHP on command line dos : php file.php "parameter"



I have this error when my code want to copy and resize this

picture only this picture

http://a1692.g.akamai.net/f/1692/2042/1h/medias.lemonde.fr/medias/image_article/39sta1.jpg



First time i have and php fail :

Corrupt JPEG data: premature end of data segment gd-jpeg: JPEG library
reports 

Corrupt JPEG data: bad Huffman code



a other time but php don't fail :

Corrupt JPEG data: premature end of data segment

gd-jpeg: JPEG library reports unrecoverable error: Unsupported marker
type 0x78



Please contact me if you resolve the problem or find a solution



Thank



Stephane

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


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

Reply via email to