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. How to get pure image data from jpeg buffer

How to get pure image data from jpeg buffer

Scheduled Pinned Locked Moved C / C++ / MFC
tutorial
3 Posts 3 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.
  • K Offline
    K Offline
    Kenan Aksoy
    wrote on last edited by
    #1

    I have char* holding jpeg image and want to seperate header and data parts hadi be

    C Mircea PuiuM 2 Replies Last reply
    0
    • K Kenan Aksoy

      I have char* holding jpeg image and want to seperate header and data parts hadi be

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

      this[^] might help. Cleek | Image Toolkits | Thumbnail maker

      1 Reply Last reply
      0
      • K Kenan Aksoy

        I have char* holding jpeg image and want to seperate header and data parts hadi be

        Mircea PuiuM Offline
        Mircea PuiuM Offline
        Mircea Puiu
        wrote on last edited by
        #3

        Does the following JpegHdr structure correspond to your requirements?

           typedef struct JpegHdr 
           {
                short width;
                short height;
                short restartInterval;
                short numOfQts;
                char precision;
                unsigned char numComps;
                char blockWidth\[3\];
                char blockHeight\[3\];
                char qtId\[3\];          
                char compId\[3\]; 
                char maxBlockWidth; 
                char maxBlockHeight;
                JpegQt qt\[4\]; 
                JpegHt ht\[4\];
            } JpegHdr;
        

        See more here: http://www.cs.cornell.edu/dali/api/jpeg-c.html[^] SkyWalker -- modified at 10:16 Monday 14th November, 2005

        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