BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

String compactor

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Language BASM
View previous topic :: View next topic  
Author Message
Rafael Colucci
Guest





PostPosted: Fri May 13, 2005 7:18 pm    Post subject: String compactor Reply with quote



Hi people

Exists any compactor wrote in asm or faster like?

Rafael Colucci


Back to top
John Herbster
Guest





PostPosted: Mon May 16, 2005 6:41 pm    Post subject: Re: String compactor Reply with quote




"Rafael Colucci" <tecnologia1 (AT) prolink (DOT) inf.br> wrote
Quote:
[does there exist] any compactor wrote in asm ...?

Rafael,
What kind of compaction algorithms are you hoping for --
Abbreviation of long runs of same character, use of dictionary,
etc?
How long are the sequences to be independently encoded?
Regards, JohnH






Back to top
Rafael Colucci
Guest





PostPosted: Mon May 16, 2005 8:04 pm    Post subject: Re: String compactor Reply with quote



I´m hoping for a algorithm that compact a string of a bitmap
(bitmap.savetostream) ... Algo like zip, lhz, lha ....

Rafael Colucci

"John Herbster" <herb-sci1_at_sbcglobal.net> escreveu na mensagem
news:4288e956$1 (AT) newsgroups (DOT) borland.com...
Quote:

"Rafael Colucci" <tecnologia1 (AT) prolink (DOT) inf.br> wrote
[does there exist] any compactor wrote in asm ...?

Rafael,
What kind of compaction algorithms are you hoping for --
Abbreviation of long runs of same character, use of dictionary,
etc?
How long are the sequences to be independently encoded?
Regards, JohnH








Back to top
Jussi
Guest





PostPosted: Tue May 17, 2005 4:15 am    Post subject: Re: String compactor Reply with quote

you can use zlib.pas Smile (included in delphi)

filestream := tfilestream.create('MyCompressedFile.zlib',fmCreate);
zstream := tcompressionstream.create(tfilestream,clDefault);
bitmap.savetostream(zstream);
zstream.free;
filestream.free;


Juhani Suhonen



"Rafael Colucci" <tecnologia1 (AT) prolink (DOT) inf.br> wrote

Quote:
I´m hoping for a algorithm that compact a string of a bitmap
(bitmap.savetostream) ... Algo like zip, lhz, lha ....

Rafael Colucci

"John Herbster" <herb-sci1_at_sbcglobal.net> escreveu na mensagem
news:4288e956$1 (AT) newsgroups (DOT) borland.com...

"Rafael Colucci" <tecnologia1 (AT) prolink (DOT) inf.br> wrote
[does there exist] any compactor wrote in asm ...?

Rafael,
What kind of compaction algorithms are you hoping for --
Abbreviation of long runs of same character, use of dictionary,
etc?
How long are the sequences to be independently encoded?
Regards, JohnH










Back to top
Avatar Zondertau
Guest





PostPosted: Tue May 17, 2005 6:44 am    Post subject: Re: String compactor Reply with quote

Quote:
I4m hoping for a algorithm that compact a string of a bitmap
(bitmap.savetostream) ... Algo like zip, lhz, lha ....

Hi Rafael,

I guess this is about the same problem you discussed in the gaphics and
multimedia newsgroups then?

Some solutions were suggested there, but you didn't indicate why you
though they weren't useful to you. Just posting the question again and
again won't help you unless you tell us what's wrong with those
solutions.

We're all trying to help people here, but can only do so if these
people really want to be helped, that is they provide enough
information for us to be able to help them.

Back to top
Avatar Zondertau
Guest





PostPosted: Tue May 17, 2005 6:22 pm    Post subject: Re: String compactor Reply with quote

Quote:
I guess this is about the same problem you discussed in the gaphics
and multimedia newsgroups then?

Some solutions were suggested there, but you didn't indicate why you
though they weren't useful to you. Just posting the question again and
again won't help you unless you tell us what's wrong with those
solutions.

We're all trying to help people here, but can only do so if these
people really want to be helped, that is they provide enough
information for us to be able to help them.

Reply from Rafael (sent by e-mail):

In the others news my problem was a bitmap stream over network .. I
solved the problem using bitmaps diference .. In this case, I dont have
a bitmap to compare, so, I have to use a compact algorithm. JPG and PNG
are lossy algorithms that i can?t use .. i have to use a lossless
algorithm ...

Sorry if I don?t explain my question because my english is not very
good ..

Back to top
Lars
Guest





PostPosted: Tue May 17, 2005 6:50 pm    Post subject: Re: String compactor Reply with quote

Hi

Avatar Zondertau wrote:

Quote:
Reply from Rafael (sent by e-mail):

a bitmap to compare, so, I have to use a compact algorithm. JPG and PNG
are lossy algorithms that i can?t use .. i have to use a lossless
algorithm ...


From the

http://www.libpng.org/pub/png/

is PNG lossless.

cut out from the page

'A Turbo-Studly Image Format with Lossless Compression'

Lars G

Back to top
Rafael Colucci
Guest





PostPosted: Tue May 17, 2005 7:32 pm    Post subject: Re: String compactor Reply with quote

Hummmm ... sorry ... I will try with PNG ...

Rafael Colucci

"Lars" <lbg_ (AT) _adslhome (DOT) dk> escreveu na mensagem
news:428a3cd7$1 (AT) newsgroups (DOT) borland.com...
Quote:
Hi

Avatar Zondertau wrote:

Reply from Rafael (sent by e-mail):

a bitmap to compare, so, I have to use a compact algorithm. JPG and PNG
are lossy algorithms that i can?t use .. i have to use a lossless
algorithm ...


From the

http://www.libpng.org/pub/png/

is PNG lossless.

cut out from the page

'A Turbo-Studly Image Format with Lossless Compression'

Lars G



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Language BASM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.