private void ImageCallback(int size, int width, int height, int depth, int face, int miplevel)
 {
     if (currentOutputHandler != null)
     {
         currentOutputHandler.BeginImage(size, width, height, depth, face, miplevel);
     }
 }