There is nothing in your code that has anything to do with images, and the data stored in SQL is just raw byte data. You can read the data from SQL in the usual way and convert it to an image:
MemoryStream ms = new MemoryStream(bytes);
Image myImage = Image.FromStream(ms);
You can them use the Image in any way you deem necessary.