在j2me画布中,如何减小图像大小?

发布于 2024-12-10 08:40:55 字数 170 浏览 2 评论 0原文

我正在 j2me 中为诺基亚 s60 设备做项目
这个项目有很多 PNG 图像和 Sprite 图像。所有图像都是唯一的,因此我的项目 jar 大小接近 10MB。如果我压缩图像,图像看起来不太好,所以我想将实际图像放入这个项目中。
在J2me Canvas中,是否有任何图像编码可以减小尺寸但保持良好的质量?

I am doing project in j2me for Nokia s60 devices
This project has lot of PNG images and Sprite images there. All images are unique, so my project jar size is near 10MB. If I compress image, image does not look good, so I want to put actual image in this project.
in J2me Canvas, is there any image encoding to reduce size but keep good quality or not?

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

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

发布评论

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

评论(3

許願樹丅啲祈禱 2024-12-17 08:40:55

首先,尝试一些工具,如 PNGGauntlet 等。它可以压缩您的 png 文件,并减少质量损失。第二种方法是混淆你的项目。

Firstly,try some tools like PNGGauntlet and so on. It can compress your png files with less quality lose. The second method is obfuscate your project.

腹黑女流氓 2024-12-17 08:40:55

你应该混淆你的项目。它减少了 jar 的大小并加密了您的源代码。还可以在 Photoshop cs3 中将图像重新保存为网页图像,而不是 5

You should obfuscate your project. it reduces the jar size also encrypt your source code. Also resave your images in photoshop cs3 not 5 as web images

吹泡泡o 2024-12-17 08:40:55

你检查pngcrush吗?其主要目的是通过尝试各种压缩级别和 PNG 过滤方法来减小 PNG IDAT 数据流的大小。

Do you check pngcrush? Its main purpose is to reduce the size of the PNG IDAT datastream by trying various compression levels and PNG filter methods.

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