Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.06.26;
Скачать: 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 вся ветка

Текущий архив: 2003.06.26;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.029 c
7-84795
Piroman
2003-04-18 12:12
2003.06.26
Как запретить определять звуковую карту приложению??


3-83894
DreamDesire
2003-06-03 10:32
2003.06.26
Master-Details в TClientDataSet: касадное удаление


1-84216
Графика
2003-06-12 13:42
2003.06.26
Как у предка убрать published ?


7-84801
chernoruk
2003-04-18 19:45
2003.06.26
Запуск приложения


14-84557
Саня
2003-06-07 11:05
2003.06.26
Как профессионально дать закзчику