Thanks,
it works good here, do you have other compression algos planned?
Petr
I have been working on a compression module and thought I would release a beta for people to play with and see if it works for them.
Just copy the dll into the LIB folder of thinBasic
Syntax is quite simple (see the test script)
sPacked = TBPK_Compress( sInput, %TBPK_RLE )
sUnpacked = TBPK_DeCompress( sPacked)
I dont think I need to explain with more detail at the moment.
Have fun
Mike C.
Home Desktop : Windows 7 - Intel Pentium (D) - 3.0 Ghz - 2GB - Geforce 6800GS
Home Laptop : WinXP Pro SP3 - Intel Centrino Duo - 1.73 Ghz - 2 GB - Intel GMA 950
Home Laptop : Windows 10 - Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 2401 Mhz, 2 Core(s), 4 Logical Processor(s) - 4 GB - Intel HD 4400
Work Desktop : Windows 10 - Intel I7 - 4 Ghz - 8GB - Quadro Fx 370
Thanks,
it works good here, do you have other compression algos planned?
Petr
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
I am quite happy with the RLE at the moment but as for other methods I would suspect that wont see daylight until Santa has visited.
The approach I am taking is to get my idea working then rewrite to optimise for speed until that happens nothing is for public consumption.
Mike C.
Home Desktop : Windows 7 - Intel Pentium (D) - 3.0 Ghz - 2GB - Geforce 6800GS
Home Laptop : WinXP Pro SP3 - Intel Centrino Duo - 1.73 Ghz - 2 GB - Intel GMA 950
Home Laptop : Windows 10 - Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 2401 Mhz, 2 Core(s), 4 Logical Processor(s) - 4 GB - Intel HD 4400
Work Desktop : Windows 10 - Intel I7 - 4 Ghz - 8GB - Quadro Fx 370
Bookmarks