WAP 彩色图像

发布于 2024-09-04 04:37:33 字数 93 浏览 1 评论 0原文

我从 WML 开发开始,但我讨厌我们对图像的唯一选择是 WBMP 格式,即只有灰度,那么我想知道是否有任何方法可以彩色使用 WAP 1.x(不是新的 2.x 版本)的图像。

I'm beginning with WML development, but I hate that the only option that we have for images are the WBMP format, that is only grayscale, then I want to know if there is any way to have colored images using WAP 1.x(not the new 2.x versions of it).

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

司马昭之心 2024-09-11 04:37:33

Openwave 浏览器(当然是 Openwave Mobile Browser v6)支持标准彩色图像格式,例如 BMP、PNG、JPEG、GIF 和动画 GIF,这些浏览器安装在大量 WAP 手机上。我认为其他 WAP 浏览器也有类似支持是一个合理的假设。

请注意,某些浏览器可能不支持这些格式的某些高级功能,例如 GIF、PNG 和 JPEG 的渐进式显示/下载。

因此,您应该能够执行以下操作:

<img alt="text" src="url" />

其中 URL 指定 BMP、PNG、JPEG、GIF、动画 GIF 等。Openwave

浏览器还允许在 do 中使用 img 元素,并且option 元素作为 WML 的非标准扩展。

Standard colour image formats such as BMP, PNG, JPEG, GIF and animated GIF were supported in the Openwave browsers (certainly Openwave Mobile Browser v6), which were shipped on a huge number of WAP mobile phones. I think it a reasonable assumption that other WAP browsers have similar support.

Beware that some browsers may not support certain advanced features of these formats e.g. progressive display/download in GIF, PNG and JPEG.

So you should be able to do e.g.:

<img alt="text" src="url" />

where the URL specifies a BMP, PNG, JPEG, GIF, animated GIF etc.

The Openwave browsers also allowed img elements within do and option elements as a non-standard extension to WML.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文