Вниз
Скачать: CL | DM;

глубина цвета в HBITMAP, созданной CreateCompatibleBitmap()   Найти похожие ветки 

← →
1g0r ©   (2003-04-22 13:53) [0]

как узнать?

спасибо


← →
MBo ©   (2003-04-22 13:56) [1]

GetDeviceCaps для референсного контекста


← →
1g0r ©   (2003-04-22 14:04) [2]

ух ты!!!!

MBo © < спасибо :)))


← →
REA ©   (2003-04-22 14:42) [3]

GetDIBits
...
lpvBits
[out] Pointer to a buffer to receive the bitmap data. If this parameter is NULL, the function passes the dimensions and format of the bitmap to the BITMAPINFO structure pointed to by the lpbi parameter.
lpbi
[in/out] Pointer to a BITMAPINFO structure that specifies the desired format for the DIB data.
...
biBitCount
Specifies the number of bits-per-pixel.
и т.д.


← →
Morfein ©   (2003-04-22 20:15) [4]


var
bmp : BITMAP;
hBmp : HBITMAP; // handle того созданного битмапа
bits_per_pixel : word; // искомое кол-во бит на пиксель

begin
GetObject(hBmp, SizeOf(BITMAP), @bmp);
bits_per_pixel:=bmp.bmBitsPixel;
end;



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.023 c
14-84609
race1
2003-06-09 13:11
2003.06.26
m->wm


8-84451
korepan
2003-03-12 15:02
2003.06.26
Народ, помогите с Opengl


1-84382
Dr. Andrew
2003-06-09 11:46
2003.06.26
Max масштабирование (увеличение) Bitmap формата 24-bit или 32-bit


1-84268
Ajax
2003-06-13 21:10
2003.06.26
Интересный глюк...


1-84396
Charly
2003-06-09 14:42
2003.06.26
Мышь - управление с клавиатуры




   Наверх