Current implementation of XmpUtils.PackageForJPEG throws ArgumentOutOfRangeException for all inputs. The error was likely caused by difference in StringBuilder API. In C#, StringBuilder.Remove expects position and length of the removed substring whereas in Java, StringBuilder.delete takes start and end indices.
Current implementation of
XmpUtils.PackageForJPEG
throwsArgumentOutOfRangeException
for all inputs. The error was likely caused by difference in StringBuilder API. In C#,StringBuilder.Remove
expects position and length of the removed substring whereas in Java,StringBuilder.delete
takes start and end indices.