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?

    Thanks,
     
  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.

    Brian
     
Loading...