Data lost while copy frame from Tiff using Aspose.Imaging for .NET

Hi. CopyFrame method from TiffFrame class losses XmpData data of frame. Temp solution is manual copy XmpData.input.zip (599.2 KB)

[TestCase(@“C\input.tiff”)]
public void Test(string inputPath)
{
TiffImage tiffImage = (TiffImage)Imaging.Image.Load(inputPath);
XmpHeaderPi xmpHeader = new XmpHeaderPi();
XmpTrailerPi xmpTrailer = new XmpTrailerPi(true);
XmpMeta meta = new XmpMeta();
meta.AddAttribute(“Test”, “12345”);
tiffImage.Frames[0].XmpData = new XmpPacketWrapper(xmpHeader, xmpTrailer, meta);
TiffFrame testFrame = TiffFrame.CopyFrame(tiffImage.Frames[0]);
// testFrame.XmpData = tiffImage.Frames[0].XmpData;
Assert.IsNull(testFrame.XmpData);
}

@tvv91,

I have observed the information shared and like to shared by you and have created an issue with ID IMAGINGAINET-3244 in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

The issues you have found earlier (filed as IMAGINGNET-3244) have been fixed in this update.