In my sql table I have a varchar that represents an image. The string looks like this:
255 216 255 224 0 16 74 70 73 70 0 1 1 1 0 96 0 96 0 0 255 219 0 67 ...
saved as a .txt it is around 20KB in size.
First question: what type of string is this? I couldn't find anything online. Looks to me like RGB values because 255 is the highest number in there.
How can I use C# (ASP.net MVC to be precise) to convert this string format to an actual image again?
Thank you.
UPDATE
Talked to the developer:
the image is pulled from the Active Directory thumbnailPhoto attribute and is stored as a string. Maybe it's best to convert the source instead.