Rose, Bobby wrote:
> What am I missing?  I updated but not png isn't working.  If I switch to
> debug logging 2 I see in the log when I run the sample thru.
>
> [2006-08-26 18:16:40] Debug mode: Analyzing file with content-type
> "image/png"
> [2006-08-26 18:16:40] Debug mode: Image type not recognized, unknown
> format. Skipping this image...
>
> Thanks
> Bobby
Yes, I already posted this in this thread, there is a bug in this line:

elsif ( substr($picture_data,0,5) eq "\x89\x50\x4e\x47" )

correct is:

elsif ( substr($picture_data,0,4) eq "\x89\x50\x4e\x47" )


The tarball which is available for download has been fixed already...


Chris

I just downloaded it from http://users.own-hero.net/~decoder/fuzzyocr/ and line 733 says:

elsif ( substr($picture_data,0,5) eq "\x89\x50\x4e\x47" ) {

Gary V

_________________________________________________________________
Get real-time traffic reports with Windows Live Local Search http://local.live.com/default.aspx?v=2&cp=42.336065~-109.392273&style=r&lvl=4&scene=3712634&trfc=1

Reply via email to