【发布时间】:2015-08-18 16:33:22
【问题描述】:
我正在开发的一个应用程序在一个窗口中向用户显示各种 PNG 图像,它运行良好。我的问题更多是基于我的 PNG 是如何存储在 PE 中的。目前,PNG 作为资源存储在可执行文件中,位于RT_RCDATA 资源类型下,因为这是我发现的最合适/最相关的类型。
Question #1: Is there a more appropriate Resource Type for storing PNG's?
另外,我注意到有一个适合 BMP(位图)的资源类型,名为 RT_BITMAP。
Question #2: Why is there a predefined resource type for Bitmaps, but not one for more widely used image formats, such as PNG/JPG?
【问题讨论】: