Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
PeterPanino
Posted - Feb 21 2023 : 05:41:16 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?
3 L A T E S T R E P L I E S (Newest First)
xequte
Posted - Feb 22 2023 : 00:57:19 Yes, I mean ImageTag or ImageUserPointer.
ImageID should really only be used for custom loading within the TImageEnMView itself.