suis 0 Newbie Poster

Hi .Net team,

I have a image name call test.jpeg,
Any body can download this image on:

http://files-upload.com/files/538354/test.rar

I used bellow code to create that test.jpeg image !
Dim binWrit As New BinaryWriter(System.IO.File.Create("c:\test.jpeg", 77390))
binWrit.Write(StreamData.ToString)
binWrit.Close()

Actually i have used Byte array to create that image.
so once i created that image i cant open that image cos if i open that image it will show me the emty image object , but if i look at the size of the image it will show me the 76.0 KB (77,824 bytes)

now what i cant understand is Y can't i view this image......

may be header file not included in that byte array ?

any body got any idea Y is ths happening ?

or is there any way to view this image using .net ?

i need some professionals idea regarding my problem.....?

regards
suis

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.