title: BufferedImage image pointer data as a JNI parameter for C function
body: <p>I'm developing a Java application that uses JNI (bridge to C dynamic/shared library).  In the Java side of the application, I am generating a series of images, and in the C code, I am encoding them into a video.</p>
  
  <p>I know I could just save the images in a temporary file of some sort and pass the file path into C, but that seems hackish and slow.</p>
  
  <p>Is it possible for me to get the BufferedImage RGB24 array data and pass that into C?</p>
  
  <p>I am fairly new at Java and JNI.</p>