locked
Error occurs when pass bitmap bits into PushPixelData call RRS feed

  • Question

  • I want to encode a jpeg file and I found that if I don't set the pixel format to "PixelFormat32bppRGB" then it will occur error when PushPixelData function called.

    Does bitmapData->PixelFormat passed into PushPixelData only support 32bit format?
    And how about:
    PixelFormat1bppIndexed;
    PixelFormat4bppIndexed;
    PixelFormat8bppIndexed;
    PixelFormat24bppRGB;
    ?


    Anybody have experience with this or give me a pointer how to solve
    this? Thanks in advance...

    Best regards,
    roro
    Thursday, March 26, 2009 11:03 AM