Now emits warning if metadata can't be converted.

This commit is contained in:
Harald Kuhr 2018-06-13 16:51:23 +02:00
parent f738e0e20d
commit 90593117db

View File

@ -866,7 +866,7 @@ public final class TIFFImageWriter extends ImageWriterBase {
} }
} }
catch (IIOInvalidTreeException e) { catch (IIOInvalidTreeException e) {
// TODO: How to issue warning when warning requires imageIndex??? Use -1? processWarningOccurred(sequenceIndex, "Could not convert image meta data: " + e.getMessage());
} }
ifd = outData.getIFD(); ifd = outData.getIFD();