By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,461 Members | 1,120 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,461 IT Pros & Developers. It's quick & easy.

Image header file missisng ?

P: n/a
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.gif", 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
Oct 4 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.