Re: Converting .BMP to a data file without a heade
> > image and each pixels' palette color index. So then I would have my own
> > image format, much smaller since it wouldn't contain the color table,
> > bitcount, etc...
> That's easy, just use my Euphoria Data Object Manager...
> This loads your image like you would normally, and then saves it
> with compression without the pallete info:
> You could even save multiple grafix in one file and stuff like that,
> the routine just save the sequence data and it's structure
> compressed!!
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 !
---
Ricardo Niederberger Cabral
<rnc at infolink.com.br>
|
Not Categorized, Please Help
|
|