Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Memblock compresion

Author
Message
TIGER
21
Years of Service
User Offline
Joined: 31st Aug 2002
Location: Argentina
Posted: 7th Feb 2004 18:41
write_memblock(file number,memblock number,image quality)
read_memblock(file_number,memblock nimber)

thoose functions works exactly the same way as a read or write memblock command from darkbasic
the quality defines the compress image quality where 100 is then biggest file and also the best
image quaklity and dont even try 20
the best results i ve got from 80 to 95

those functions works corectly only with 16 bit image memblocks.
The decompression is pretty fast.
Enjoy.
Van B
Moderator
21
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 12th Feb 2004 14:42
Great work Tiger, an good way to protect your media too.


Van-B


The nature of Monkey was irrepressible!.

Login to post a reply

Server time is: 2024-05-12 02:40:08
Your offset time is: 2024-05-12 02:40:08