in reply to Re^2: getting the dimensions of a picture (jpeg)
in thread getting the dimensions of a picture (jpeg)

All good points. I was just in a hurry, and saw I had an old snippet which showed it. Last night I realized it could also probably be sped up too, since it prints on each pixel. It probably could be re-written to process chunks at a time, and even regexed chunks at a time. The only problem is making sure the chunk boundaries are on pixel boundaries, so you don't break up the pixel-triples.

I'm not really a human, but I play one on earth. flash japh
  • Comment on Re^3: getting the dimensions of a picture (jpeg)