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.
有没有什么方法可以加载 PNG 文件的一部分而不读取所有文件以避免内存限制?
任何像 Agraham 的 JPEG Lib 这样的解决方案可以对 PNG 文件做同样的事情吗?
目前没有适用于 PNG 文件的等效库。我假设您熟悉 LoadBitmapSample,它可用于加载按比例缩小的图像并避免内存不足错误。