S
Sean Aitken
Good morning,
Does anyone know of a way to extract a unique hashcode or identifier
from an Image that comes from a typed Resource file? I am trying to
optimize a routine that takes the actual image object itself.
Currently, the Equals operator seems to compare the image pixel for
pixel to determine equality. This VERY slow! Maybe just a way to
compare references would be nice.. (Since the Image exposed from the
Resource file exists as a single reference).
Ultimately, I would like a way to map these ID's to the actual image
itself (ultimately mapping unique instances to an ImageList).
Any pointers? have I confused everyone?
Thanks!
-Sean
Does anyone know of a way to extract a unique hashcode or identifier
from an Image that comes from a typed Resource file? I am trying to
optimize a routine that takes the actual image object itself.
Currently, the Equals operator seems to compare the image pixel for
pixel to determine equality. This VERY slow! Maybe just a way to
compare references would be nice.. (Since the Image exposed from the
Resource file exists as a single reference).
Ultimately, I would like a way to map these ID's to the actual image
itself (ultimately mapping unique instances to an ImageList).
Any pointers? have I confused everyone?
Thanks!
-Sean