JPEG to byte array without writing to file

Discussion in 'Questions (Windows Mobile)' started by brathbone, Mar 1, 2008.

  1. brathbone

    brathbone Member Licensed User

    Greetings all,

    I am using the wonderful dzImage library to create images, but I need the ability to convert an image to JPEG and access the bytes without writing the JPEG to a file.

    Does anyone know of a way I can accomplish this?

  2. Erel

    Erel Administrator Staff Member Licensed User

    dzImage includes ImageToByteArray.
    Go over the complete thread as this method was not available in the first version.
  3. brathbone

    brathbone Member Licensed User

    Hi Erel,

    Thanks for the response. It looks like ImageToByteArray returns the Bitmap image data. I will be sending the data over the air, so I was hoping to take advantage of JPEG compression for bandwidth savings.

    Thanks so much for the help.

  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