您的位置:首页 >> 网页教程 >> Fireworks >>

PS中的"另存为"与"另存为网页格式"

作者:tea00tea00 时间:2008-06-14 来源:蓝色理想

Photoshop,ps,另存为,网页格式

Extraction of Quality Setting in Save As

In files generated using Save As, you can derive the quality setting from the Photoshop IRB resource (0x0406) in the JPEG APP13 (0xFFED) marker. The following hex view is of an image saved with quality setting 2.
(图见下)

Value Quality
0xFFFDQuality 1 (Low)
0xFFFE Quality 2
0xFFFFQuality 3
0x0000 Quality 4
0x0001Quality 5 (Medium)
0x0002 Quality 6
0x0003 Quality 7
0x0004 Quality 8 (High)
0x0005Quality 9
0x0006 Quality 10 (Maximum)
0x0007Quality 11
0x0008Quality 12

另存为的图像质量设置

在用另存为方式输出的文件中,你能根据JPEG APP13 (0xFFED)标记中的photoshop IRB资源(0x0406)数据推得图片质量的设置值。下面是一副保存质量为2的图片文件的16进制视图。

数值质量
0xFFFD质量1 (低)
0xFFFE 质量2
0xFFFF质量3
0x0000 质量4
0x0001质量5 (中)
0x0002 质量6
0x0003 质量7
0x0004 质量8 (高)
0x0005质量9
0x0006 质量10 (最佳)
0x0007质量11
0x0008 质量12

Extraction of Quality Setting in Save For Web

In files generated using Save For Web, you can derive the quality setting (1..100) from the Ducky resource in the JPEG APP12 (0xFFEC) marker (starts with null-terminated ASCII string Ducky). The percent value is stored in hex. The following hex view shows a file saved with quality setting 51 = 0x31:(图见下)

另存为网页格式的质量设置

在另存为网页格式的图片文件中,你能根据JPEG APP12 (0xFFEC)标记(以空数据开头、ASCII编码Ducky结束)中的Ducky资源推得图像质量设置(1-100%)数据是以16进制保存的。图中在0x31处,16进制数值33表示图片质量为51。

Comparison of Save As vs Save For Web Quality

Many people are confused about why there is a difference in the definition of quality settings within Photoshop and furthermore, how they compare. The following table shows the two methods and the relative ordering of quality between the settings, from best to worst quality. See description below for the limitations of such an ordered comparison.
For more information: read about JPEG chroma subsampling.

MethodJPEG QualityPresetChroma Subsampling
Save For Web100Maximum1x1
Save As12Maximum1x1
Save For Web 90   1x1
Save As 11   1x1
Save For Web 80Very High1x1
Save As10   1x1
Save For Web70   1x1
Save As9   1x1
Save For Web60High1x1
Save As8High1x1
Save For Web51   1x1
Save For Web50   2x2
Save As6   2x2
Save As7   1x1
Save As5Medium2x2
Save For Web40   2x2
Save As4   2x2
Save As3Low2x2
Save For Web30Medium2x2
Save As2   2x2
Save For Web20   2x2
Save As1   2x2
Save For Web10Low2x2

In graphical form, here is a chart that shows a comparison of the JPEG luminance and chrominance across the default presets, each with the equivalent JPEG standard "quality factor". Of course, it is important to note that the quality factor shown is not an accurate measure of image quality since they are only truly comparable quantities if both Save for Web and Save As were based on linear scalings of the quantization tables included in the JPEG Standard Annex. Since neither is based on the sample tables, the quality factor should only be taken as a very rough comparison measure. The graph is ordered by decreasing luminance quality factors.
(图见下)
Ordered Graph
(图见下)
Comparison Graph

另存为和另存为网页格式的比较

很多人对为何photoshop中的两种保存方式质量设定的定义有区别而不解,还有怎么比较他们。下面的表格是两种保存方法设置质量后的图像质量排序,从最佳质量到最低质量。这种排序比较的局限性请看后面的说明。
更多信息请查阅jpeg色度抽样。

MethodJPEG QualityPresetChroma Subsampling
另存为网页格式100最佳1x1
另存为12最佳1x1
另存为网页格式 90   1x1
另存为11   1x1
另存为网页格式80较高1x1
另存为10   1x1
另存为网页格式70   1x1
另存为9   1x1
另存为网页格式601x1
另存为81x1
另存为网页格式51   1x1
另存为网页格式50   2x2
另存为6   2x2
另存为7   1x1
另存为52x2
另存为网页格式40  2x2
另存为4  2x2
另存为32x2
另存为网页格式302x2
另存为2   2x2
另存为网页格式20   2x2
另存为1   2x2
另存为网页格式102x2

下面是默认设置下的jpeg亮度和色度的对比图表,每个都有对应的jpeg标准质量系数。当然,有必要指出,质量系数不是测量图片质量的精确标准,只是如果另存为网页格式和另存为都是基于jpeg标准附录中的量化表的线性测量,那么质量系数是唯一能用来比较图片质量的参数。质量系数只能作为一个粗糙的标准来比较图片。图表按亮度质量系数降序排列。

排序图表

对比图表

经典论坛交流
http://bbs.blueidea.com/thread-2860036-1-1.html

中华大观园版权申明:本站部分图片和文章来源于网络。除部分特别声明不要转载,或者授权我站独家播发的文章外,大家可以自由转载我站点的原创文章,但原作者和来自我站的链接必须保留(非我站原创的,按照原来自一节,自行链接)。

转载要求:转载之图片、文件,链接请不要盗链到本站,且不准打上各自站点的水印,亦不能抹去我站点水印。 特别注意:本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有。

免责声明:本站刊载此文不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。对本文有任何异议,请联络:5000sky@gmail.com
现有 条评论 | 更多评论..
我要发表看法
验证码: 匿名发表(无需注册)
    如果您还不是中华大观园会员,欢迎加入
  • ※ 评论注意事项:
  • 您的评论将在管理员审核后才会显示。
  •   
  • 不是中华大观园会员或未登陆发表评论,评论人名字显示为匿名。
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除评论中的任意内容
  • 参与本评论即表明您已经阅读并接受上述条款