Hi all,
I have a question about pet files. I have created a pet file for my Samsung printer. The biggest file inside the pet is around 2400 K. The total size of the pet itself is 1000 K. Yes, the pet file works! Is the difference in between just compression? If so I'm really surprised in a positive way.
Regards,
Feodor
pet files in general [Solved]
pet files in general [Solved]
Last edited by FeodorF on Thu 11 Jun 2020, 22:10, edited 1 time in total.
Hello FeodorF.
BK's pet-making utility can use either gzip or xz compression.
If you type "X" in the console dialog, the pet will be archived using xz compression.
If you simply type "Enter", the pet will be archived using gzip compression.
xz makes a more compact archive than gzip.
Please see this table for a comparison:
https://www.rootusers.com/gzip-vs-bzip2 ... comparison
(about 1/3 down the page)
However, the % (ratios) above are not absolute, because there are other, general,
considerations, such as:
-- any archive containing an already compressed file will be much less compressed
(because that compressed file cannot be compressed further);
-- any archive containing lots of text files (for example help files) will be a lot smaller.
Finally, please note that older versions of BK's pet utility only offered gzip compression.
IHTH.
BK's pet-making utility can use either gzip or xz compression.
If you type "X" in the console dialog, the pet will be archived using xz compression.
If you simply type "Enter", the pet will be archived using gzip compression.
xz makes a more compact archive than gzip.
Please see this table for a comparison:
https://www.rootusers.com/gzip-vs-bzip2 ... comparison
(about 1/3 down the page)
However, the % (ratios) above are not absolute, because there are other, general,
considerations, such as:
-- any archive containing an already compressed file will be much less compressed
(because that compressed file cannot be compressed further);
-- any archive containing lots of text files (for example help files) will be a lot smaller.
Finally, please note that older versions of BK's pet utility only offered gzip compression.
IHTH.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
pet files in general [Solved]
Hi musher0!
Guess I'm using gzip compression as I just hit enter after the questions.
The lib file I'm compressing is surely not compressed ahead of time, that's for sure.
That must have slipped out of my mind when I asked the question about the pet file size afterwards.
Greetings,
Feodor
edit: Yes, it uses gzip for sure.
Guess I'm using gzip compression as I just hit enter after the questions.
The lib file I'm compressing is surely not compressed ahead of time, that's for sure.
That must have slipped out of my mind when I asked the question about the pet file size afterwards.
Greetings,
Feodor
edit: Yes, it uses gzip for sure.
- Attachments
-
- it-uses-gzip-compression.png
- (17.45 KiB) Downloaded 40 times
Last edited by FeodorF on Fri 12 Jun 2020, 09:12, edited 2 times in total.