Î
΢ÈíÐÂÎÅ×é
Here i use BitBlt(destDC,x,y,w,h,srcDC,x,y,SRCCOPY) to copy srcDC into
destDC.
i think GetPixel(destDC,x,y) can get the Pixel info at Point(x,y).
and my question is :
can i get bytes info from destDC directly ?
because i think get bytes directly is faster than GetPixel()'s way.
why do i bring out this question?
i have read a msdn help 'How to save a true color bitmap into a Gif file'
which tells me how to get the pixelinfo and save the bitmap into a gif
file.And the help says while doing pixels processing,the LockBits() method
is more efficent than GetPixel()'s way.
so i think whether there is a way to get bytes info from DC directly like
LockBits() do.
destDC.
i think GetPixel(destDC,x,y) can get the Pixel info at Point(x,y).
and my question is :
can i get bytes info from destDC directly ?
because i think get bytes directly is faster than GetPixel()'s way.
why do i bring out this question?
i have read a msdn help 'How to save a true color bitmap into a Gif file'
which tells me how to get the pixelinfo and save the bitmap into a gif
file.And the help says while doing pixels processing,the LockBits() method
is more efficent than GetPixel()'s way.
so i think whether there is a way to get bytes info from DC directly like
LockBits() do.