LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-25-2004, 02:20 AM   #16
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492

Code:
I've heard 7zip is open source, so, if true, not a problem as far as platform.
Right, 7zip was actually ported to linux last week, I just found it out in http://sourceforge.net/projects/p7zip/

How are your images encoded ?
 
Old 11-25-2004, 10:36 AM   #17
JanusPaul
Member
 
Registered: Nov 2004
Location: Houston, Texas
Distribution: Ubuntu, Debian, Solaris, Free BSD
Posts: 82

Original Poster
Rep: Reputation: 15
When working with the actual image data, they'll be used in rawest form (BitMap). 16/24/32/-bit all included, then compressed when saved.
 
Old 11-25-2004, 11:11 AM   #18
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Are these images computer generated or real photos ?
 
Old 11-25-2004, 07:47 PM   #19
JanusPaul
Member
 
Registered: Nov 2004
Location: Houston, Texas
Distribution: Ubuntu, Debian, Solaris, Free BSD
Posts: 82

Original Poster
Rep: Reputation: 15
All the above o.O?
 
Old 11-26-2004, 02:40 AM   #20
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
There's an lossless algorithm comparison at http://www.hpl.hp.com/loco/HPL-98-193R1.pdf

From the jpeg faq about 24 bit images:
Quote:
The best known lossless compression methods can compress such
data about 2:1 on average.
Why do you want lossless compression for images, which precisely are the kind of data that have very efficient lossy compression methods available ?
 
Old 11-26-2004, 07:05 AM   #21
gamehack
Member
 
Registered: Jun 2003
Location: Sevenoaks, UK
Distribution: Ubuntu
Posts: 183

Rep: Reputation: 30
Have you tried UHARC? It squezed 2 GB into a 300mb file... the compression/decompression indeed is very slow, but hey, you save a lot of space For more info take a look at this site http://www.maximumcompression.com/programs.php

Cheers,
gamehack
 
Old 11-26-2004, 08:00 AM   #22
Marius2
Member
 
Registered: Jan 2004
Location: Munich
Distribution: SuSE 9.2, 10.2, 10.3, knoppix
Posts: 276

Rep: Reputation: 31
Quote:
Originally posted by JanusPaul
The compression in a dailup modem DOES EXIST! And it's not going to be found in a 'driver' file. It's HARD BUILT into the hardware itself. When one modem sends data over the wire to another modem, one divides the data by the polynomial expression, sends the remainder, the receiving end applies the remainder back into the expression. There ya go, a perfect 4:1 lossless compression for any case! Awesome/Brilliant as it may seem, it's possible!
If you're talking 4:1 lossless reduction, the trick is probably within the modulation of the signal on the line
(that is, take 4 or 8 or 16 states of the signal instead of only 2 - number of states limited by line quality).
I don't think that a software algorithm can losslessly compress 4:1 (except for special cases), since usually
there isn't that much redundancy in typical data.
 
Old 11-28-2004, 11:32 PM   #23
JanusPaul
Member
 
Registered: Nov 2004
Location: Houston, Texas
Distribution: Ubuntu, Debian, Solaris, Free BSD
Posts: 82

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Marius2
If you're talking 4:1 lossless reduction, the trick is probably within the modulation of the signal on the line
(that is, take 4 or 8 or 16 states of the signal instead of only 2 - number of states limited by line quality).
I don't think that a software algorithm can losslessly compress 4:1 (except for special cases), since usually
there isn't that much redundancy in typical data.
4-bits = 16 states, a way to level out the data.
 
Old 11-29-2004, 01:24 AM   #24
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
4-bits = 16 states, a way to level out the data.
and 1 bit = 2 states, that's the basics, nothing is leveling out or off here ...

These hardware algorithms are not compressing the data, but just improving their use of an analogical transport medium.

It's just like claiming a text written with a smaller font is a compressed version of the same one with a larger font ...
Nothing is related with data compression here.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration