zip created by archive manager is smaller than one created by zip on command line

Clash Royale CLAN TAG#URR8PPP up vote
2
down vote
favorite
I am creating a zip archive of one file, in 3 different ways:
zip -1(least compression) --> 33.8kBzip -9(most compression) --> 32.3kB- archive manager (zip option) --> 26.1kB
Why is there such a big difference?
Related: I'm trying to automatically zip files in Python using the zipfile module, and its performance is comparable to that of zip, but I want its performance to be that of archive manager. However, I can find no documentation on what archive manager does exactly. It claims to use 'zip' but clearly the compression is better...
archive compression zip
add a comment |Â
up vote
2
down vote
favorite
I am creating a zip archive of one file, in 3 different ways:
zip -1(least compression) --> 33.8kBzip -9(most compression) --> 32.3kB- archive manager (zip option) --> 26.1kB
Why is there such a big difference?
Related: I'm trying to automatically zip files in Python using the zipfile module, and its performance is comparable to that of zip, but I want its performance to be that of archive manager. However, I can find no documentation on what archive manager does exactly. It claims to use 'zip' but clearly the compression is better...
archive compression zip
2
Is it an option for you to use another compression tool/method, for examplexz, which usually provides better compression thanzip?
â sudodus
May 9 at 13:33
3
You may check actual file type withfile archive.zip. You can try to open archive withfile-roller archive.zipand see its Properties (Type and Compression ratio).
â N0rbert
May 9 at 15:01
1
@N0rbert it stated that p7zip compression was used. Strangely enough if I try to select .7z in file-roller, the file gets even smaller, and the properties (as in: which algorithm was used with which parameters) are identical!
â PDiracDelta
May 12 at 18:05
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I am creating a zip archive of one file, in 3 different ways:
zip -1(least compression) --> 33.8kBzip -9(most compression) --> 32.3kB- archive manager (zip option) --> 26.1kB
Why is there such a big difference?
Related: I'm trying to automatically zip files in Python using the zipfile module, and its performance is comparable to that of zip, but I want its performance to be that of archive manager. However, I can find no documentation on what archive manager does exactly. It claims to use 'zip' but clearly the compression is better...
archive compression zip
I am creating a zip archive of one file, in 3 different ways:
zip -1(least compression) --> 33.8kBzip -9(most compression) --> 32.3kB- archive manager (zip option) --> 26.1kB
Why is there such a big difference?
Related: I'm trying to automatically zip files in Python using the zipfile module, and its performance is comparable to that of zip, but I want its performance to be that of archive manager. However, I can find no documentation on what archive manager does exactly. It claims to use 'zip' but clearly the compression is better...
archive compression zip
asked May 9 at 13:10
PDiracDelta
16819
16819
2
Is it an option for you to use another compression tool/method, for examplexz, which usually provides better compression thanzip?
â sudodus
May 9 at 13:33
3
You may check actual file type withfile archive.zip. You can try to open archive withfile-roller archive.zipand see its Properties (Type and Compression ratio).
â N0rbert
May 9 at 15:01
1
@N0rbert it stated that p7zip compression was used. Strangely enough if I try to select .7z in file-roller, the file gets even smaller, and the properties (as in: which algorithm was used with which parameters) are identical!
â PDiracDelta
May 12 at 18:05
add a comment |Â
2
Is it an option for you to use another compression tool/method, for examplexz, which usually provides better compression thanzip?
â sudodus
May 9 at 13:33
3
You may check actual file type withfile archive.zip. You can try to open archive withfile-roller archive.zipand see its Properties (Type and Compression ratio).
â N0rbert
May 9 at 15:01
1
@N0rbert it stated that p7zip compression was used. Strangely enough if I try to select .7z in file-roller, the file gets even smaller, and the properties (as in: which algorithm was used with which parameters) are identical!
â PDiracDelta
May 12 at 18:05
2
2
Is it an option for you to use another compression tool/method, for example
xz, which usually provides better compression than zip?â sudodus
May 9 at 13:33
Is it an option for you to use another compression tool/method, for example
xz, which usually provides better compression than zip?â sudodus
May 9 at 13:33
3
3
You may check actual file type with
file archive.zip. You can try to open archive with file-roller archive.zip and see its Properties (Type and Compression ratio).â N0rbert
May 9 at 15:01
You may check actual file type with
file archive.zip. You can try to open archive with file-roller archive.zip and see its Properties (Type and Compression ratio).â N0rbert
May 9 at 15:01
1
1
@N0rbert it stated that p7zip compression was used. Strangely enough if I try to select .7z in file-roller, the file gets even smaller, and the properties (as in: which algorithm was used with which parameters) are identical!
â PDiracDelta
May 12 at 18:05
@N0rbert it stated that p7zip compression was used. Strangely enough if I try to select .7z in file-roller, the file gets even smaller, and the properties (as in: which algorithm was used with which parameters) are identical!
â PDiracDelta
May 12 at 18:05
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1034039%2fzip-created-by-archive-manager-is-smaller-than-one-created-by-zip-on-command-lin%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
2
Is it an option for you to use another compression tool/method, for example
xz, which usually provides better compression thanzip?â sudodus
May 9 at 13:33
3
You may check actual file type with
file archive.zip. You can try to open archive withfile-roller archive.zipand see its Properties (Type and Compression ratio).â N0rbert
May 9 at 15:01
1
@N0rbert it stated that p7zip compression was used. Strangely enough if I try to select .7z in file-roller, the file gets even smaller, and the properties (as in: which algorithm was used with which parameters) are identical!
â PDiracDelta
May 12 at 18:05