In an ImageEnMView, I have images collected from various sources:
- Loaded from file
- AppendImage(IEBitmap);
etc.
I need to detect the best-quality image source for each image:
- If loaded from file: Get image from file path
- If loaded from IEBitmap: Get the IEBitmap from the image
etc.
How can I detect each image source and get the best source?
Does the best solution consist in trying to get the file path with ImageEnMView1.ImageFileName[i]
, and if it is empty, then get the IEBitmap?