Flowing Fount of Yak Knowledge
Posted - 10/02/2012 : 23:21:56
We ingest a lot of images from external sources. I would like to assure that already ingested images are not re-ingested in the backend. For this I was thinking of generating a GUID based on image's stream as follows
public byte imageToByteArray(System.Drawing.Image imageIn)
MemoryStream ms = new MemoryStream();
I was then thinking of making this into a CLR (if at all necessary) then save the GUID with the metadata of the image in SQL server. Not sure how accurately unique that GUID would be.
If you don't have the passion to help people, you have no passion