Location:
![](/images/right.gif)
Search - GetDIBits 8
Search list
Description: // The strategy here is to use ::GetDIBits to convert the
// image into a 24-bit DIB one scan line at a time. A pleasant
// side effect of using ::GetDIBits in this manner is that RLE-
// encoded 4-bit and 8-bit DIBs will be uncompressed.-/ / The strategy here is to use : : GetDIBits to convert the / / image into a 24-bit D IB scan one line at a time. A pleasant / / side effe ct of using : : GetDIBits in this manner is that RLE-/ / encoded 4-bit and 8-bit DIBs will be uncompressed.
Platform: |
Size: 1100 |
Author: dao |
Hits:
Description: hao// The strategy here is to use ::GetDIBits to convert the
// image into a 24-bit DIB one scan line at a time. A pleasant
// side effect of using ::GetDIBits in this manner is that RLE-
// encoded 4-bit and 8-bit DIBs will be uncompressed.
fly and slse-hao / / The strategy here is to use : : GetDIBits to convert the / / image into a 24-bit D IB scan one line at a time. A pleasant / / side effe ct of using : : GetDIBits in this manner is that RLE-/ / encoded 4-bit and 8-bit DIBs will be uncompressed. a fly nd slse
Platform: |
Size: 1293 |
Author: dao |
Hits:
Description: // The strategy here is to use ::GetDIBits to convert the
// image into a 24-bit DIB one scan line at a time. A pleasant
// side effect of using ::GetDIBits in this manner is that RLE-
// encoded 4-bit and 8-bit DIBs will be uncompressed.-//The strategy here is to use : : GetDIBits to convert the// image into a 24-bit D IB scan one line at a time. A pleasant// side effe ct of using : : GetDIBits in this manner is that RLE-//encoded 4-bit and 8-bit DIBs will be uncompressed.
Platform: |
Size: 1024 |
Author: dao |
Hits:
Description: hao// The strategy here is to use ::GetDIBits to convert the
// image into a 24-bit DIB one scan line at a time. A pleasant
// side effect of using ::GetDIBits in this manner is that RLE-
// encoded 4-bit and 8-bit DIBs will be uncompressed.
fly and slse-hao// The strategy here is to use : : GetDIBits to convert the// image into a 24-bit D IB scan one line at a time. A pleasant// side effe ct of using : : GetDIBits in this manner is that RLE-//encoded 4-bit and 8-bit DIBs will be uncompressed. a fly nd slse
Platform: |
Size: 1024 |
Author: dao |
Hits:
Description: Public Sub DibGet(ByVal IdSource As Long, XBegin As Long, ByVal YBegin As Long, ByVal XEnd As Long, ByVal YEnd As Long)
Dim iBitmap As Long
Dim iDC As Long
Dim I As Long
Dim W As Long
Dim H As Long
On Error GoTo ErrLine
Done = False
TimeGet = timeGetTime
InPutWid = XEnd - XBegin
InPutHei = YEnd - YBegin
W = InPutWid + 1
H = InPutHei + 1
I = (Bits \ 8) - 1
ReDim ColVal(I, InPutWid, InPutHei)
With bi24BitInfo.bmiHeader
.biBitCount = Bits
.biCompression = 0&
.biPlanes = 1
.biSize = Len(bi24BitInfo.bmiHeader)
.biWidth = W
.biHeight = H
End With
iBitmap = GetCurrentObject(IdSource, 7&)
GetDIBits IdSource, iBitmap, 0&, H, ColVal(0, 0, 0), bi24BitInfo, 0&
DeleteObject iBitmap
Done = True
TimeGet = timeGetTime - TimeGet
Exit Sub
ErrLine:
MsgBox "错误号: " & Err.Number & ": " & Err.Description
End Sub(The RGB value of a pixel is displayed, and the high hand continues)
Platform: |
Size: 2048 |
Author: GSO625 |
Hits: