How to convert image to an array of bytes

Discussion in 'Questions (Windows Mobile)' started by kolbe, Feb 4, 2008.

  1. kolbe

    kolbe Active Member Licensed User

    Hello all,

    Any ideas on how to convert and .image to an array of bytes. I think I could use .embedfile and then read the bytes out of that file. I could also use dzimage library or imagelibex to save to file.

    It would be nice to avoid having to write to a file first.

  2. dzt

    dzt Active Member Licensed User

    dzImage has an ImageToByteArray method
  3. kolbe

    kolbe Active Member Licensed User

    That will work. Thanks for the work on that library!

    Thanks dzt.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice