} catch (DataFormatException e) {
log.debug("Failed to deflate ICC Profile", e);
failed = true;
}
}
decompresser.end();
try {
iccProf = ICC_Profile.getInstance(bos.toByteArray());
} catch (IllegalArgumentException e) {
log.debug("Failed to interpret embedded ICC Profile", e);
iccProf = null;