C# .NET - Convert File to image. - Asked By RAJESH VEMUNOORI on 16-Apr-13 10:28 AM

Hi All,

I'm working on a page which accepts files using file upload control and uploads to a directory using C#. In this scenario i'm supposed to convert the uploaded files to jpeg images and then to byte array. I could successfully do this if uploaded files are images. Can any one Plz suggest a better way to achieve this?