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.
我发现它JPEG2000有一个 alpha 通道,我想在我的项目中将PNG格式更改JPEG2000为基于SDL 2.0.3and SDL_Image. 可以用JPEG2000在SDL吗?
JPEG2000
PNG
SDL 2.0.3
SDL_Image
SDL
据我所知,库存 SDL_Image 中不支持 JPEG2000。你可以做的是找到必要的库/头文件并直接实现它,可能使用 SDL_Image 将你的 PNG 加载到表面/纹理中,然后编写你自己的方法来导出到 JPEG2000。