private int TIFFjpeg_read_scanlines(byte[][] scanlines, int max_lines) { int n = 0; try { n = m_decompression.jpeg_read_scanlines(scanlines, max_lines); } catch (Exception) { return -1; } return n; }