how to compress/decompress this memorystream using idzlib ?

Delphi'de kod yazma ile ilgili sorularınızı bu foruma yazabilirsiniz.
Cevapla
Kullanıcı avatarı
mia
Üye
Mesajlar: 239
Kayıt: 17 Nis 2015 02:18

how to compress/decompress this memorystream using idzlib ?

Mesaj gönderen mia »

i have the following memorystream that hold mp3 file with 1 MB size

Kod: Tümünü seç

var
mpaud: TMemoryStream;
begin
mpaud := TMemoryStream.Create;
try
mpaud.LoadFromFile ('dd.mp3');
mpaud.Position := 0;

memo1.Lines.Add(inttostr(mpaud.Size));

mpaud.SaveToFile('tt.mp3');

finally
mpaud.Free;
end;

i wanted to compress the memorystream after begin loaded with the mp3 file then decompress it using idzlib

but i couldn't figure out how to do that properly
بِسْمِ اللهِ الرَّحْمنِ الرَّحِيمِ
in god i trust with every movement i do
graduated student and looking for knowledge
Kullanıcı avatarı
freeman35
Admin
Mesajlar: 2356
Kayıt: 12 Haz 2003 04:05
Konum: merkez camii yanı

Re: how to compress/decompress this memorystream using idzlib ?

Mesaj gönderen freeman35 »

ZAGOR TENAY TÜRK'tür... TÜRK kalacak...
Zoru başarırım, İmkansız zaman alır
FreeMan 35.5

Soru sormaya üşenmiyorsan, sorunun çözümünü yazmaya da üşenme !!!
Cevapla