-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Plenz wrote:
>> Adding a point for corrupted images is sounding better and better.
>
> I disagree. To check out what happens I converted a JPG picture into a GIF
> file
> and sent it to myself. One time I converted it with IrfanView and the
second
> time with PaintShop Pro. Both GIF files had the result
> "giftopnm: EOF or error reading data portion..." So I produced a
corrupt (?)
> image, but it was not spam.
>
> I have no idea what is wrong and how it could be fixed. Only this: a GIF
> file
> seems to be divided into several blocks. Perhaps one block (perhaps the
last
> block) is too short and does not match to its block header (if any
exists?).
> Perhaps it is possible to read out the correct block length from a header
> and fill the block with 00h to get a valid GIF file.
>
> Ah... I just found that there is a program named GIFFIX. I should try it
> out.
>
FuzzyOcr will try to invoke Giffix if an image is broken. If giffix
does not completely fail, then it will only give a low score for the
picture being corrupted. If it isn't able to fix the image at all,
then it will give a higher score.


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

iD8DBQFE7sVkJQIKXnJyDxURAv29AJ9i/LjlLx1me4TZiwRrSuD0KasBYQCfagl2
95Nt5kXjo3v+WO7i2jngnCk=
=XN3X
-----END PGP SIGNATURE-----

Reply via email to