Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. JPEG Image to an array format

JPEG Image to an array format

Scheduled Pinned Locked Moved C / C++ / MFC
data-structureshelptutorial
6 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    raju_shiva
    wrote on last edited by
    #1

    Hi all, I am trying to open the (jpeg)image and store it into an array(matrix) format. I am not getting how to start,can anyone please help me in doing this. Thanks Raj

    L C A P C 5 Replies Last reply
    0
    • R raju_shiva

      Hi all, I am trying to open the (jpeg)image and store it into an array(matrix) format. I am not getting how to start,can anyone please help me in doing this. Thanks Raj

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      hi, Do you have any code already? If so, it would be useful to post the details of your decoder. If you haven't decided on a decoder yet, using the CImage[^] class could be a good one to consider.

      1 Reply Last reply
      0
      • R raju_shiva

        Hi all, I am trying to open the (jpeg)image and store it into an array(matrix) format. I am not getting how to start,can anyone please help me in doing this. Thanks Raj

        C Offline
        C Offline
        Cool_Dev
        wrote on last edited by
        #3

        another option, if you can use Gdi+, is to go for Bitmap & BitmapData classes.

        1 Reply Last reply
        0
        • R raju_shiva

          Hi all, I am trying to open the (jpeg)image and store it into an array(matrix) format. I am not getting how to start,can anyone please help me in doing this. Thanks Raj

          A Offline
          A Offline
          Arman S
          wrote on last edited by
          #4

          It depends what you want to achieve. Also depends how your jpeg is represented to you, i.e. do you have a file handle, etc etc. So you if you post some more details, it'll be easy for us to help.

          -- Arman

          1 Reply Last reply
          0
          • R raju_shiva

            Hi all, I am trying to open the (jpeg)image and store it into an array(matrix) format. I am not getting how to start,can anyone please help me in doing this. Thanks Raj

            P Offline
            P Offline
            Paresh Chitte
            wrote on last edited by
            #5

            Basically JPEG is compressed file format. Hope this[^] will help you a bit. Regards, Paresh.

            1 Reply Last reply
            0
            • R raju_shiva

              Hi all, I am trying to open the (jpeg)image and store it into an array(matrix) format. I am not getting how to start,can anyone please help me in doing this. Thanks Raj

              C Offline
              C Offline
              Chris Losinger
              wrote on last edited by
              #6

              this has helped some people...

              image processing toolkits | batch image processing

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups