PixelFormat 圖像顏色的數據格式


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                      未定義像素格式。
 
http://www.cnblogs.com/FKdelphi/p/4654677.html


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM