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. Other Discussions
  3. IT & Infrastructure
  4. EXIF/JPEG Code Help

EXIF/JPEG Code Help

Scheduled Pinned Locked Moved IT & Infrastructure
helpalgorithmstutorialquestion
1 Posts 1 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.
  • M Offline
    M Offline
    Michael Fritzius
    wrote on last edited by
    #1

    Hello, I'm working on a project that obtains a picture from an SD card and sends it to a PC for examination. The picture is found by searching for a particular two-byte signature and determining what section of the picture is being processed. The first two bytes after the signature is the size of this section (header). The problem is that when I get to the actual picture information, I don't know how big this section is supposed to be--the header says the size is 10 bytes but this is The Picture Itself and the actual picture is around 1MB. The code searches for the signature, then reads in how many bytes this header is, then sends that many bytes, then starts searching for the next signature. Is anybody familiar enough with jpg or Exif compression (they're about the same, just a little more info at the beginning for Exif) to walk me through how to determine the size of each header? All the articles I've found either say that the size is in the header (which the size is a lot bigger than 10 bytes :-D ) or they're just really vague in presentation. Thanks for your time, Michael

    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