|
Post by pappu536 on Nov 9, 2023 6:34:34 GMT
虽然它们都显示相同的图像但背景中发生的情况却截然不同。图形虽然不像或那样广为人知但它是一种常见的图像文件类型。它只是以不同的方式对待事物。页面加载时代码会转换为图形因此您无法立即区分和。然而由于只是转换为像素的代码行因此它们可以缩放到任何分辨率无论大小而不会牺牲质量。虽然可以仅使用代码创建图像但大多数人使用矢量图形编辑器例如或。和其他光栅图像也可以转换为但结果可能并不总是那么出色。 是一种多功能文件格式因为它 丹麦手机号码列表 支持动画和透明度。唯一的缺点是它不像等更标准的格式那样广泛使用因此它在较旧的浏览器和设备上的支持较少并且上传到您的网站并使其正确显示并不总是最容易的。是有损还是无损是一种无损格式。保存时不会丢失任何信息。这与形成对比是一种有损格式。失信息这意味着图像保存得越多效果就越差。的优点和缺点虽然矢量图形不像等光栅文件类型那样广泛使用但它正在迅速流行。 它们可以执行光栅图像无法执行的一些关键任务。以下是人们喜爱的一些原因。图像可以缩放。它可以以任何分辨率进行设计并可以按比例放大或缩小而不会损失质量或变得像素化。使用光栅图像时您必须从一开始就知道所需的尺寸否则可能会导致图像太大或太小。总是清晰而美丽因为它们永远不会失去质量。即使稍微调整大小光栅图像也会变得模糊。由于是简单的代码因此它们的文件大小很小并且经过了良好的优化。
|
|