压缩尺寸 [英] Compression size

查看:94
本文介绍了压缩尺寸的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用GZipStream类压缩了一个文件,并且比原来的

文件大....这怎么可能?,原始文件是737 KB,压缩是

文件是1.1 MB。我是否错过了压缩等级的东西或是正常的?


-

VBA

解决方案

你在压缩什么类型的文件?某些高度压缩的文件(如

图像)在第二次压缩时可能会增大。此外,Microsoft

算法并不是一个想法,而是试图避开专利

问题。


" VBA" < VB*@discussions.microsoft.com写信息

新闻:BB *************************** ******* @ microsof t.com ...


>我用GZipStream类压缩了一个文件并且比原来大了

file ....这怎么可以?,原始文件是737 KB,

压缩

文件是1.1 MB。我是否错过了一些或正常的压缩

级?


-

VBA


首先我压缩了一个txt文件,我读到如果文件非常小,

压缩可以把它变大,所以我试着用一个mp3文件(不是

确定文件类型很重要)的3.4 Mb,但是把它变成了5.3

MB ....所以.. ......什么是错的?


-

VBA

" Andrew Robinson"写道:


你压缩什么类型的文件?某些高度压缩的文件(如

图像)在第二次压缩时可能会增大。此外,Microsoft

算法并不是一个想法,而是试图避开专利

问题。


" VBA" < VB*@discussions.microsoft.com写信息

新闻:BB *************************** ******* @ microsof t.com ...


我用GZipStream类压缩了一个文件,并且比原来的大了

file ....这怎么可以?,原始文件是737 KB,

压缩

文件是1.1 MB。我是否错过了一些或正常的压缩

级?


-

VBA



VBA写道:


首先我压缩了一个txt文件,我读到,如果一个文件非常小,

压缩可以把它变大,所以然后我尝试用一​​个mp3文件(不是

确定如果文件类型重要的是3.4 Mb,但是把它变成了5.3

MB ....所以.....什么是错的?



MP3是一个压缩文件...我敢打赌你会用3.5

MB文本文件获得更好的行为。


Scott


I compressed a file with GZipStream class and is larger than the original
file.... how can this be?, the original file is 737 KB and the "compressed"
file is 1.1 MB. Did i miss something or is normal with that compression class?

--
VBA

解决方案

What type of file are you compressing? Some highly compressed files such as
images may grow in size when compressed a second time. Also, the Microsoft
algorithms are not idea but rather make an attempt to steer clear of patent
issues.

"VBA" <VB*@discussions.microsoft.comwrote in message
news:BB**********************************@microsof t.com...

>I compressed a file with GZipStream class and is larger than the original
file.... how can this be?, the original file is 737 KB and the
"compressed"
file is 1.1 MB. Did i miss something or is normal with that compression
class?

--
VBA



First I compressed a txt file, i read that if a file is very small , the
compression can turn it larger in size, so then i tried with a mp3 file (not
sure if the file type matters) of 3.4 Mb, but turned it to 5.3
MB....so.....what''s wrong??

--
VBA
"Andrew Robinson" wrote:

What type of file are you compressing? Some highly compressed files such as
images may grow in size when compressed a second time. Also, the Microsoft
algorithms are not idea but rather make an attempt to steer clear of patent
issues.

"VBA" <VB*@discussions.microsoft.comwrote in message
news:BB**********************************@microsof t.com...

I compressed a file with GZipStream class and is larger than the original
file.... how can this be?, the original file is 737 KB and the
"compressed"
file is 1.1 MB. Did i miss something or is normal with that compression
class?

--
VBA




VBA wrote:

First I compressed a txt file, i read that if a file is very small , the
compression can turn it larger in size, so then i tried with a mp3 file (not
sure if the file type matters) of 3.4 Mb, but turned it to 5.3
MB....so.....what''s wrong??

MP3 is a compressed file... I bet you''d get better behavior with a 3.5
MB text file.

Scott


这篇关于压缩尺寸的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆