en esta foto esta el problema
http://oi66.tinypic.com/5k59mu.jpg
HOLA CHICOS TENGO UN PROBLE MITA ES QUE ESTOY CONVIRTIENDO UNA IMAGEN A BYTE Y LA CONVERSION ME LO HACE NITIDA PERO CUANDO VEO LA IMAGEN EN LA BASE DE DATOS O EN EL FORMILARIO ESTA CORTADA
ME DAN UNA AYUDA
ESTOS SON LOS CODIGO
SOLO LES PUSE LOS DEL PICTURE Y LOS DEL BOTON QUE ME HACE LA CONVERSCION
Private Sub FOTOPictureBox_Click_2(sender As Object, e As EventArgs) Handles FOTOPictureBox.Click
If OpenFileDialog1.ShowDialog(Me) = DialogResult.OK Then
'Get the image name
Dim img As String = OpenFileDialog1.FileName
'Create a new Bitmap and display it
FOTOPictureBox.Image = System.Drawing.Bitmap.FromFile(img)
End If
End Sub
Private Sub Button2_Click_1(sender As Object, e As EventArgs) Handles Button2.Click
Dim ms = New MemoryStream()
FOTOPictureBox.Image.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg) ' Use appropriate format here
bytes = ms.ToArray()
End Sub