简体   繁体   English

ILC_COLOR32图像列表中的图像是否预先进行了alpha预乘? 我收到了相互矛盾的信息

[英]Are images in ILC_COLOR32 image lists alpha premultiplied or not? I'm getting conflicting information

Very simple question here: Are ILC_COLOR32 Image Lists alpha-premultiplied or not? 这里非常简单的问题: ILC_COLOR32图像列表是否是alpha预乘的? Various questions on Stack Overflow, like this one , imply they are; 关于Stack Overflow的各种问题, 就像这个一样 ,意味着它们是; this wxWidgets bug , however, indicates otherwise. 但是, 这个wxWidgets错误表明不是这样。 The only place where Microsoft actually says ILC_COLOR32 is used for alpha-blended image list entries doesn't say (and all ILC_COLOR32 's docs say about it is that it is a "32-bit DIB section", which, if I understand the BITMAPINFOHEADER docs correctly, technically does not contain alpha information; the top 8 bits of each color are ignored). 微软实际上说ILC_COLOR32用于alpha混合图像列表条目的唯一地方没有说(并且所有ILC_COLOR32的文档都说它是“32位DIB部分”,如果我理解的话BITMAPINFOHEADER文档正确,技术上不包含alpha信息;每种颜色的前8位被忽略)。 Thanks! 谢谢!

您提供给ILC_COLOR32图像列表并从中提取的图像没有预乘的Alpha通道。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM