• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

问题-[Delphi]PixelFormat图像颜色的数据格式

原作者: [db:作者] 来自: [db:来源] 收藏 邀请
 PixelFormat: (指定图像中每个像素的颜色数据的格式)
Delphi                                        微软                                  说明
PixelAlpha                                Alpha                        像素数据包含没有进行过自左乘的 alpha 值。
PixelCanonical                                Canonical                        默认像素格式,每像素 32 位。此格式指定 24 位颜色深度和一个 8 位 alpha 通道。
PixelDontCare                                DontCare                         没有指定像素格式。
PixelExtended                                Extended                         保留。
PixelFormat16bppArgb1555 Format16bppArgb1555像素格式为每像素 16 位。该颜色信息指定 32,768 种色调,其中 5 位为红色,5 位为绿色,5 位为蓝色,1 位为 alpha。
PixelFormat16bppGrayScale Format16bppGrayScale像素格式为每像素 16 位。该颜色信息指定 65536 种灰色调。
PixelFormat16bppRgb555        Format16bppRgb555指定格式为每像素 16 位;红色、绿色和蓝色分量各使用 5 位。剩余的 1 位未使用。
PixelFormat16bppRgb565        Format16bppRgb565指定格式为每像素 16 位;红色分量使用 5 位,绿色分量使用 6 位,蓝色分量使用 5 位。
PixelFormat1bppIndexed           Format1bppIndexed指定像素格式为每像素 1 位,并指定它使用索引颜色。因此颜色表中有两种颜色。
PixelFormat24bppRgb                Format24bppRgb      指定格式为每像素 24 位;红色、绿色和蓝色分量各使用 8 位。
PixelFormat32bppArgb                Format32bppArgb        指定格式为每像素 32 位;alpha、红色、绿色和蓝色分量各使用 8 位。
PixelFormat32bppPArgb                   Format32bppPArgb 指定格式为每像素 32 位;alpha、红色、绿色和蓝色分量各使用 8 位。根据 alpha 分量,对红色、绿色和蓝色分量进行自左乘。
PixelFormat32bppRgb Format32bppRgb        指定格式为每像素 32 位;红色、绿色和蓝色分量各使用 8 位。剩余的 8 位未使用。
PixelFormat48bppRgb Format48bppRgb        指定格式为每像素 48 位;红色、绿色和蓝色分量各使用 16 位。
PixelFormat4bppIndexed Format4bppIndexed 指定格式为每像素 4 位而且已创建索引。
PixelFormat64bppArgb Format64bppArgb        指定格式为每像素 64 位;alpha、红色、绿色和蓝色分量各使用 16 位。
PixelFormat64bppPArgb Format64bppPArgb 指定格式为每像素 64 位;alpha、红色、绿色和蓝色分量各使用 16 位。根据 alpha 分量,对红色、绿色和蓝色分量进行自左乘。
PixelFormat8bppIndexed Format8bppIndexed 指定格式为每像素 8 位而且已创建索引。因此颜色表中有 256 种颜色。
PixelGdi                                      Gdi                               像素数据包含 GDI 颜色。
PixelIndexed                              Indexed                       该像素数据包含颜色索引值,这意味着这些值是系统颜色表中颜色的索引,而不是单个颜色值。
PixelMax                                      Max                              此枚举的最大值。
PixelPAlpha                              PAlpha                      像素格式包含自左乘的 alpha 值。
PixelUndefined                               Undefined                      未定义像素格式。

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Delphi编程防止界面卡死的方法经验分享发布时间:2022-07-18
下一篇:
Delphi笔记(GL_Scene四轴飞行器模型)发布时间:2022-07-18
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap