Flash 中位图的实际限制是什么?
正如我从这篇文章中读到的那样,Flash可以处理的最大方形位图是4,095 x 4,095(结果为 16,769,025 像素和 bla-bla-bla)。所以,他们说如果我尝试达到 4,096 x 4,096,我就会失败。但我尝试加载并显示大小为 4,096 x 4,096 的位图图像,效果很好。然后,我什至尝试了尺寸为 5000 x 5000 的图像,这也没关系。我不明白什么?实际限制是什么以及如何计算它们?
As I can read it from this article the maximum square bitmap Flash can handle is 4,095 x 4,095 (which results in 16,769,025 pixels and bla-bla-bla). So, they say if I try to go to 4,096 x 4,096, I'll fail. But I have tried to load and display a bitmap image sized 4,096 x 4,096, and it worked well. Then, I even tried an image sized 5000 x 5000, and that was alright too. What do I not understand? What are the actual limits and how to calculate them?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
看看这个http://kb2.adobe.com/cps/496/cpsid_49662.html< /a>
实际大小限制为 16,777,215 像素(十进制相当于 0xFFFFFF)
look at this http://kb2.adobe.com/cps/496/cpsid_49662.html
the actual size limit is 16,777,215 pixels (the decimal equivalent of 0xFFFFFF)
我认为这些限制是指您可以通过位图类在 Flash 中创建的内容,而不是您可以从外部加载的内容......但我可能是错的。
I think these limits refer to what you can create in flash via the bitmap class, not what you can load externally...but I could be wrong.