b.setCodec(codec.getClass().getCanonicalName()); sectionOutputStream = codec.createOutputStream(underlyingOutputStream); } else {
CompressionCodec codec = compress.getImageCodec(); if (codec != null) { summary.setCodec(codec.getClass().getCanonicalName());
b.setCodec(codec.getClass().getCanonicalName()); sectionOutputStream = codec.createOutputStream(underlyingOutputStream); } else {
b.setCodec(codec.getClass().getCanonicalName()); sectionOutputStream = codec.createOutputStream(underlyingOutputStream); } else {