Re: How to directly pass bitmap bits into PushPixelData call...



Does bitmapData->PixelFormat and the bits data only support 32bit
format?
And how about:
PixelFormat1bppIndexed;
PixelFormat4bppIndexed;
PixelFormat8bppIndexed;
PixelFormat24bppRGB;
?

--------------------------------------------------------------------------------
On 9 1 , 3 59 , jfigu...@xxxxxxxxxxxxxxxxxxxx (Joseph F) wrote:
Here are some reasons the default CE jpeg codec may return E_INVALIDARG:
* the rectangle dimensions passed into PushPixelData indicate a different
width or height than imageInfo.Width and imageInfo.Height respectively
* the bitmapData->PixelFormat passed into PushPixelData are NOT one of the
following:
* PixelFormat32bppRGB
* PixelFormat32bppARGB
* PixelFormat32bppPARGB

This posting is provided "AS IS" with no warranties, and confers no rights.


.