Re: Animated images in mails

2006-08-28 Thread decoder
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Plenz wrote:

 decoder wrote:
 gifasm can split them into multiple files, etc.


 Thanks, gifasm works very well. Seems that I only have to choose
 the biggest one of the output files, it contains the text.
That is what FuzzyOcr does automatically for you :) (If you set the
gif frame option in the cf file to a low value... with 1 it will
always be used..)

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

iD8DBQFE8rskJQIKXnJyDxURAiDsAJ0SuPpt+3SU+CZP6zx2BTrN0CsTawCfWEVf
sEyehX84ZiLrpvV/kTZwGMk=
=Ak2M
-END PGP SIGNATURE-



Re: Animated images in mails

2006-08-28 Thread Plenz


decoder wrote:
 
 That is what FuzzyOcr does automatically for you :) 
Surely... but I don't use Spamassassin, I am using my own program :)

-- 
View this message in context: 
http://www.nabble.com/Broken-images-in-mails-tf2071676.html#a6022799
Sent from the SpamAssassin - Users forum at Nabble.com.



Re: Animated images in mails

2006-08-27 Thread decoder
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Loren Wilton wrote:
 Sure.  giftopnm will do it.  The FuzzyOCR plugin is using some
 other tool that will also do it, I don't recall what just at the
 moment.

 Loren

giftopnm wont do it as far as I tested it... it only extracts the
first frame...

FuzzyOcr is using two different tests... for few frames, it simples
glues them to one frame using imagemagick,

for many frames, it picks the best and tests that..

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

iD8DBQFE8YQ9JQIKXnJyDxURAo+eAJ9Wk+gzU2jssvSYK+a8MfFtbiJJbgCgmrpi
4zx5qlGfVPqRqVxO/7HMFIY=
=Xu9s
-END PGP SIGNATURE-



Re: Animated images in mails

2006-08-27 Thread Loren Wilton

Sure.  giftopnm will do it.  The FuzzyOCR plugin is using some
other tool that will also do it, I don't recall what just at the
moment.


giftopnm wont do it as far as I tested it... it only extracts the
first frame...


giftopnm -image={n|all}

   Loren



Re: Animated images in mails

2006-08-27 Thread Plenz


decoder wrote:
 
 gifasm can split them into multiple files, etc.
 

Thanks, gifasm works very well. Seems that I only have to choose the biggest
one of the output files, it contains the text.
-- 
View this message in context: 
http://www.nabble.com/Broken-images-in-mails-tf2071676.html#a6014230
Sent from the SpamAssassin - Users forum at Nabble.com.



RE: Animated images in mails

2006-08-26 Thread Randal, Phil
FuzzyOCR (http://wiki.apache.org/spamassassin/FuzzyOcrPlugin) will do
what you want.

There's a small error in 2.3b's FuzzyOCR.pm which means it doesn't
recognize jpeg images.  To fix that, change 

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

to read

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

(search for 0,5 in your text editor)

Cheers,

Phil

-Original Message-
From: Plenz [mailto:[EMAIL PROTECTED] 
Sent: Saturday, August 26, 2006 6:53 AM
To: users@spamassassin.apache.org
Subject: Re: Animated images in mails


Today I got animated spam. The first frame only with dots an lines, the
second frame with spam text, the third frame again with dots and lines.
The
duration of the text frame is very long, the others are very short. 

Is there a command line utility which can extract animated GIFs?
-- 
View this message in context:
http://www.nabble.com/Broken-images-in-mails-tf2071676.html#a5995071
Sent from the SpamAssassin - Users forum at Nabble.com.


RE: Animated images in mails

2006-08-26 Thread Randal, Phil
I really must read older emails to the list first...

The current download has been fixed..

Sorry for the noise.

Phil

-Original Message-
From: Randal, Phil 
Sent: Saturday, August 26, 2006 10:32 AM
To: 'Plenz'; users@spamassassin.apache.org
Subject: RE: Animated images in mails

FuzzyOCR (http://wiki.apache.org/spamassassin/FuzzyOcrPlugin) will do
what you want.

There's a small error in 2.3b's FuzzyOCR.pm which means it doesn't
recognize jpeg images.  To fix that, change 

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

to read

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

(search for 0,5 in your text editor)

Cheers,

Phil

-Original Message-
From: Plenz [mailto:[EMAIL PROTECTED] 
Sent: Saturday, August 26, 2006 6:53 AM
To: users@spamassassin.apache.org
Subject: Re: Animated images in mails


Today I got animated spam. The first frame only with dots an lines, the
second frame with spam text, the third frame again with dots and lines.
The
duration of the text frame is very long, the others are very short. 

Is there a command line utility which can extract animated GIFs?
-- 
View this message in context:
http://www.nabble.com/Broken-images-in-mails-tf2071676.html#a5995071
Sent from the SpamAssassin - Users forum at Nabble.com.


Re: Animated images in mails

2006-08-26 Thread decoder
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Plenz wrote:
 Today I got animated spam. The first frame only with dots an lines, the
 second frame with spam text, the third frame again with dots and lines. The
 duration of the text frame is very long, the others are very short.

 Is there a command line utility which can extract animated GIFs?
Various... imagemagick can either extract them or put them into one
image, gifasm can split them into multiple files, etc.


FuzzyOcr utilizies both as needed to scan animated gifs.

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

iD8DBQFE8CCgJQIKXnJyDxURAtr1AJ4/6ONiWg3t5mQJVt9MUcNpYfY3YACfcXW/
xQ4dD6PpT9CW79pekPvfQQw=
=PU49
-END PGP SIGNATURE-



Re: Animated images in mails

2006-08-26 Thread Loren Wilton
Sure.  giftopnm will do it.  The FuzzyOCR plugin is using some other tool 
that will also do it, I don't recall what just at the moment.


   Loren



Re: Animated images in mails

2006-08-25 Thread Plenz

Today I got animated spam. The first frame only with dots an lines, the
second frame with spam text, the third frame again with dots and lines. The
duration of the text frame is very long, the others are very short. 

Is there a command line utility which can extract animated GIFs?
-- 
View this message in context: 
http://www.nabble.com/Broken-images-in-mails-tf2071676.html#a5995071
Sent from the SpamAssassin - Users forum at Nabble.com.