title: Is there a start/stop sequence in an image files binary data?
body: <p>I am trying to build an image processor in Java and do not know much about the way that images are stored digitally. After doing just a bit of research I found out that there is more to the image than just the pixel data, there is also the meta data. So, is there a start/stop sequence I can check for when reading in the bytes of the image to know when the meta data has stopped and the actual pixel data that I'm after has started? I essentially want to be able to just write the pixel data to an array and exclude the meta data so I can manipulate the image directly without corrupting the meta data.</p>
  <p>Btw, I know that there are plenty of image libraries for java, but I'm trying to build this from scratch using lower level implementations for practice/ out of curiosity.</p>