private bool TIFFjpeg_create_compress()
{
/* initialize JPEG error handling */
try
{
m_compression = new jpeg_compress_struct(new JpegErrorManager(this));
m_common = m_compression;
}
catch (Exception)
{
return false;
}
return true;
}