1. Re: Converting .BMP to a data file without a heade

>         Thanks, but using your EDOM the zipped file became bigger and slower
 :(
>
>         I tried with this file:
>
>         BMP File (with header): 102 kb
>         Zipped BMP File:          17kb         <---- The smallest one.
>         EDO File:                     36 kb
>         Zipped EDO File:          30 kb
>
>         Actually the EDO file is smaller, but comparing the final zipped BMP
 file
> (the one that matters, since I just want to make the distribution file
> smaller) with the
> zipped EDO file, the BMP zipped is smaller.
>         And for reading the BMP file I spent 1 second but for reading the EDO
 file
> I spent almost a minute !

        Yes, i know, it are 2 routines combined and the compression routine
isn't so fast, but do know that the sequence structure is also saved,
this takes a little bit more space than a bmp-file, but the
compression makes up for this, it's only a shame it is so slow....
        Maybe when i understand one of the compression methods i'll rewrite
the code in a nice compact function, which should be a lot quicker.
The code that makes bits out of a sequence is very old code of mine,
i do not understand it any more, i made it last spring when i was 14.
        But i'll look-in to it, cuse it really needs improvement, i know...

Ralf Nieuwenhuijsen
nieuwen at xs4all.nl

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu