png8和png24之间有什么区别 [英] What is difference between png8 and png24
问题描述
我想了解png文件的用法。有两种格式可用于 png图片;一个是 png8 ,另一个是 png24 。
I want to know about uses of png files. There are two formats available for png images; one is png8 and the another one is png24.
我想知道,如果我在 html
页面中使用任一类型,会有任何错误吗?
I would like to know that if I use either type in my html
page, will there be any error? Or is this only quality matter?
推荐答案
只有一种PNG格式,但它支持5彩种的。
There is only one PNG format, but it supports 5 color types.
PNG-8是指调色板的变体,它仅支持256色,但通常尺寸较小。 PNG-8可以是一个GIF替代品。
PNG-8 refers to palette variant, which supports only 256 colors, but is usually smaller in size. PNG-8 can be a GIF substitute.
PNG-24是指真正的颜色变体,它支持更多的颜色,但可能更大。
PNG-24 refers to true color variant, which supports more colors, but might be bigger. PNG-24 can be used instead of JPEG, if lossless image format is needed.
任何现代网络浏览器都支持这两种类型。
Any modern web browser will support both variants.
这篇关于png8和png24之间有什么区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!