I've a process to fetch images from database to the image control the code is a .ashx file and this is.
Dim o As Object = command.ExecuteScalar
If o Is Nothing Or IsDBNull(o) Then
Dim d As Byte() = CType(command.ExecuteScalar(), Byte())
output.Write(d, 0, d.Length)
Well it's working but now I have to control the image's size, I was thinking to do in this code, but my first problem is...
How Can I transform the d "BYTE()" into an object image to perform all the changes easily.