Создать ответ 
 
Рейтинг темы:
  • Голосов: 0 - Средняя оценка: 0
  • 1
  • 2
  • 3
  • 4
  • 5
lzo compressed images in DS?
Автор Сообщение
neon Не на форуме
Пользователь
**

Сообщений: 41
Зарегистрирован: 25.08.2010
Рейтинг: 0
Сказал спасибо: 0
Поблагодарили 7 раз(а) в 6 сообщ.
Сообщение: #12
RE: lzo compressed images in DS?
SWAT, thank you for explanations. I just read that lzo decompression speed is always the same, no matter what compression level we use. This means that maximum compression level is optimal, and there's no need to use lower compression levels.

"Segmentation fault" error was caused by "%s" in printf. Probably some old compilers may have problem with this.

I made a small change:
Цитата:printf("Usage: %s library level infile outfile\n", argv[0]);
printf(" level: 1-9 for compress (1=fast/large - 9=small/slow), 0 for decompress\n");
printf(" library: zlib or lzo\n\n");
return 0;
And now it works OK.
08.11.2012 11:47
Найти все сообщения Цитировать это сообщение
Создать ответ 


Сообщения в этой теме
RE: lzo compressed images in DS? - neon - 08.11.2012 11:47

Переход:


Пользователи просматривают эту тему: 2 Гость(ей)