Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道如何使用 Corona 获取图像大小而不加载它们并调用 obj.width。
有办法吗?
如果您的图像是PNG,是的! http://developer.coronalabs.com/forum/2012/05/16/pnglib-extract-data-png-files-width-height-color-depth-etc
即使对于 jpeg 图像,我认为有人提出了一种方法。