944,052 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 1794
  • VB.NET RSS
Oct 4th, 2007
0

Image header file's missing ?

Expand Post »
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
Last edited by suis; Oct 4th, 2007 at 8:43 am.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
suis is offline Offline
3 posts
since Oct 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: open folder
Next Thread in VB.NET Forum Timeline: Compare Tables





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC