Convert Byte() Array data into image in VB 6.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thescriptuser
    New Member
    • Sep 2007
    • 6

    Convert Byte() Array data into image in VB 6.0

    hi,
    i have image data in a variable type Dim imgData() As Byte, how can convert into image file or set up the picture box using VB 6.0

    any one help!

    thanks in advance.
  • QVeen72
    Recognized Expert Top Contributor
    • Oct 2006
    • 1445

    #2
    Hi,

    Check This M$ LInk

    Regards
    Veena

    Comment

    • Killer42
      Recognized Expert Expert
      • Oct 2006
      • 8429

      #3
      I suppose it depends on what format the data is in, within that byte array. For instance, if it's an array of colour values, you could just set up a picturebox control, then loop through the array and use Pset or the .Net equivalent to place each point in the image.

      Comment

      Working...