Results 1 to 2 of 2

Thread: MV Image File Renderer

  1. #1
    Join Date
    Jun 2011
    Posts
    3

    MV Image File Renderer

    Hello I've a new question about the grabbers. This time it is about MV Image File Renderer.

    I'm writing with the VS 2005 C#

    Code:
    case MV_IMAGE_CAPTURE_END_EVENT:
    {
    int width, height, bpp, size, pData;
    m_ImageGrabberList[i].GetCurrentBitmap(out width, out height, out bpp, out size, out pData);
    }
    break;


    I put a breakpoint and watch these variables and I can see the correct width, height, bitsperpixel and size, but the pointer to the data is always zero.

    What can I do?

    Thanks for your time!

  2. #2
    Join Date
    Apr 2003
    Posts
    302

    Re: MV Image File Renderer

    The call expects a pointer to a preallocated buffer, which will be filled with the image data. If you call the method with a NULL pointer, the call returns the properties of the image, so you can calculate the minimum size of the buffer.

    I hope this helps!

    Marc

Similar Threads

  1. MV Image Grabber does not write file if template used
    By GerardWeis in forum MontiVision Development Kit
    Replies: 1
    Last Post: June 20, 2011, 18:34:23
  2. Writing Image Streams to an AVI file
    By MikeInman in forum IC Imaging Control C++ Class Library
    Replies: 1
    Last Post: March 3, 2010, 17:06:54
  3. Network Source/Renderer filters with AVI file.
    By potatosoftware in forum MontiVision Development Kit
    Replies: 4
    Last Post: July 14, 2009, 11:34:18
  4. Feeding avi or mpeg file to Network renderer
    By Unregistered in forum MontiVision Development Kit
    Replies: 1
    Last Post: April 1, 2005, 12:16:56
  5. How to Capture Image and output to a jpg or bmp file?
    By Unregistered in forum MontiVision Development Kit
    Replies: 1
    Last Post: December 22, 2003, 08:48:38

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •