Just SELECT them, and cast the returned value into an array of bytes.
You can then just use
File.WriteAllBytes[
^] method to create a file with the appropriate extension.
For that number of images, I'd probably use a DataReader rather than a DataAdapter for save memory, and do the task in a BackgroundWorker as it's going to be a time consuming process.