title: Is there a way to know the offsets of interlacing blocks in image files?
body: <p>That is, if I have <code>image.png</code> and it happens to be an interlaced image, I would like to split the file at the exact offsets where an interlacing block is present. I would like to have the same thing for progressive .jpg files.</p>
  
  <p>I can read the specs and try to figure it out from there, but it would be nice if such a thing existed in e.g. ImageMagic or any other library/tool. </p>