Namespaces :-
System.Drawing;
Coding :-
byte[] bytArray;
Bitmap bImg = new Bitmap(Server.MapPath(path));
ImageConverter imgCon = new ImageConverter();
bytArray = (byte[])imgCon.ConvertTo(bImg , typeof(byte[]));
CONVERT IMAGE TO BYTE USING ASP.NET
Subscribe to:
Post Comments (Atom)
Post a Comment