Please be so kind and advise:
Dim MyImage As Aspose.Imaging.Image = Nothing
Based on the source file type, ie dng:
MyImage = TryCast(Image.Load(MyFileStream, LoadOpt), FileFormats.Dng.DngImage)
MyImage = TryCast(Image.Load(MyFileStream, LoadOpt), FileFormats.Tiff.TiffImage)
The problem’s here:
If source format is Tiff:
MyImage.XmpData = Nothing
For Each MyFrame As FileFormats.Tiff.TiffFrame In MyImage.Frames
XmpData is not a member of Aspose.Imaging.Image
Frames is not a member of Aspose.Imaging.Image
The base class image must have all shared properties otherwise seems useless and we’ll have to explicitly define each image class having longer and more complex work!
Am I right or there’s some workaround I’m missing?