We are attempting to use the Aspose.Imaging .NET library to set XMP metadata in TIFF files. This generally works as expected for most files. We’ve encountered two files that cannot be saved without the library throwing an exception.
REVSD4C_4.tif and REVSD4C_5.tif have been zipped into TIF.zip
Aspose.Imaging.CoreExceptions.ImageFormats.TiffImageException “Unsupported bits per sample 8, 0, 0, 8 count.”:
at � .� (Aspose.Imaging undefined, Version=21.12.0.0 undefined, Culture=neutral undefined, PublicKeyToken=716fcc553a201e56 undefined)
at � .� � (Aspose.Imaging undefined, Version=21.12.0.0 undefined, Culture=neutral undefined, PublicKeyToken=716fcc553a201e56 undefined)
at Aspose.Imaging.FileFormats.Tiff.TiffFrame+�.Process (Aspose.Imaging undefined, Version=21.12.0.0 undefined, Culture=neutral undefined, PublicKeyToken=716fcc553a201e56 undefined)
at � .Process (Aspose.Imaging undefined, Version=21.12.0.0 undefined, Culture=neutral undefined, PublicKeyToken=716fcc553a201e56 undefined)
at � .� � (Aspose.Imaging undefined, Version=21.12.0.0 undefined, Culture=neutral undefined, PublicKeyToken=716fcc553a201e56 undefined)
at � .� (Aspose.Imaging undefined, Version=21.12.0.0 undefined, Culture=neutral undefined, PublicKeyToken=716fcc553a201e56 undefined)
at � .� (Aspose.Imaging undefined, Version=21.12.0.0 undefined, Culture=neutral undefined, PublicKeyToken=716fcc553a201e56 undefined)
at � .� � (Aspose.Imaging undefined, Version=21.12.0.0 undefined, Culture=neutral undefined, PublicKeyToken=716fcc553a201e56 undefined)
at � .LoadPartialArgb32Pixels (Aspose.Imaging undefined, Version=21.12.0.0 undefined, Culture=neutral undefined, PublicKeyToken=716fcc553a201e56 undefined)
at � .� � (Aspose.Imaging undefined, Version=21.12.0.0 undefined, Culture=neutral undefined, PublicKeyToken=716fcc553a201e56 undefined)
at � .� (Aspose.Imaging undefined, Version=21.12.0.0 undefined, Culture=neutral undefined, PublicKeyToken=716fcc553a201e56 undefined)
at � .� (Aspose.Imaging undefined, Version=21.12.0.0 undefined, Culture=neutral undefined, PublicKeyToken=716fcc553a201e56 undefined)
at � .� � (Aspose.Imaging undefined, Version=21.12.0.0 undefined, Culture=neutral undefined, PublicKeyToken=716fcc553a201e56 undefined)
at Aspose.Imaging.RasterImage.� (Aspose.Imaging undefined, Version=21.12.0.0 undefined, Culture=neutral undefined, PublicKeyToken=716fcc553a201e56 undefined)
at Aspose.Imaging.RasterImage.LoadPartialArgb32Pixels (Aspose.Imaging undefined, Version=21.12.0.0 undefined, Culture=neutral undefined, PublicKeyToken=716fcc553a201e56 undefined)
at Aspose.Imaging.FileFormats.Tiff.TiffFrame.� (Aspose.Imaging undefined, Version=21.12.0.0 undefined, Culture=neutral undefined, PublicKeyToken=716fcc553a201e56 undefined)
at Aspose.Imaging.FileFormats.Tiff.TiffImage.� (Aspose.Imaging undefined, Version=21.12.0.0 undefined, Culture=neutral undefined, PublicKeyToken=716fcc553a201e56 undefined)
at Aspose.Imaging.FileFormats.Tiff.TiffImage.SaveData (Aspose.Imaging undefined, Version=21.12.0.0 undefined, Culture=neutral undefined, PublicKeyToken=716fcc553a201e56 undefined)
at Aspose.Imaging.DataStreamSupporter.Save (Aspose.Imaging undefined, Version=21.12.0.0 undefined, Culture=neutral undefined, PublicKeyToken=716fcc553a201e56 undefined)