You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Rose, Bobby" <br...@med.wayne.edu> on 2006/08/27 00:21:47 UTC

Fuzzy 2.3b and PNG

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

Re: Fuzzy 2.3b and PNG

Posted by decoder <de...@own-hero.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gary V wrote:
>> 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

Yea my problem.... it seems like the tarball was not uploaded... now
it should be... ;)

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE8YPfJQIKXnJyDxURApZaAJ9c3DmDnJyBWM/7kUCGf0s2pCBlMQCfbBj8
C0yO4KQrMU3UIPrfNeyowtE=
=unf7
-----END PGP SIGNATURE-----


Re: Fuzzy 2.3b and PNG

Posted by Gary V <mr...@hotmail.com>.
>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


Re: Fuzzy 2.3b and PNG

Posted by decoder <de...@own-hero.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE8MoeJQIKXnJyDxURAiVFAKCleKLAkgiklWw1yZdsWPmmXvibOgCfQa5K
eIWLLQcS1Lch1Rcd41tjB38=
=jYbC
-----END PGP SIGNATURE-----