问题描述
查看PIL(并与相关),在哪里可以得到一个完整的图像模式列表?我看到RGB,RGBX,我的代码有一些BGRX某种程度上,虽然它没有提到在PIL文档,我可以看到...我怎么能看到是什么,什么PIL支持,什么正确的模式选择何时与Windows API调用交互?例如?
Looking through PIL (and related to this question), where can I get a comprehensive list of Image modes? I see "RGB", "RGBX", my code has "BGRX" somehow even though it's not mentioned in the PIL docs that I can see... how can I see which is which, what PIL supports, and what proper modes to select when interacting with windows API calls, for example?
基本上我对图像模式知之甚少,并且想学习更多的信息,神奇的工作。
Basically I know very little about image modes and would like to learn more than just what letters to put in to make it magically work.
推荐答案
正如它在,您需要查看解压缩文件。
16-bit BGR is listed as "BGR;16"
and creates a "RGBX"
output.
这篇关于图像“模式”列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!