320321322323324325326327328329330
}; } else { os = fileImageOutputStreamExtImpl; } // Encoding the GridCoverage complexPPIO.encode(gridCoverage, new OutputStreamAdapter(os)); os.flush(); } finally { try { if (os != null) { os.close();