Indeed. I just inspected a .jpg at random and it contained the EXIF data shown below. The first field (OLYMPUS DIGITAL CAMERA) starts at offset 0xbc; and the last (JpegIFByteCount - 8092) ends at 0x2a19. On the scant basis of those two images--yours and mine--10k seem like a good starting point. For this image, that is still a substantial saving over the 677kb for the full image.

ImageDescription - OLYMPUS DIGITAL CAMERA Make - OLYMPUS CORPORATION Model - E-1 Orientation - Top left XResolution - 314.00 YResolution - 314.00 ResolutionUnit - Inch Software - Adobe Photoshop CS4 Windows DateTime - 2010:08:22 16:33:44 YCbCrPositioning - Co-Sited ExifOffset - 540 ExposureTime - 1/800 seconds FNumber - 6.30 ExposureProgram - Aperture priority ISOSpeedRatings - 200 ExifVersion - 0221 DateTimeOriginal - 2010:08:22 11:15:59 DateTimeDigitized - 2010:08:22 11:15:59 ComponentsConfiguration - YCbCr ExposureBiasValue - 0.00 MaxApertureValue - F 3.50 MeteringMode - Spot LightSource - Auto Flash - Not fired FocalLength - 14 mm UserComment - FlashPixVersion - 0100 ColorSpace - sRGB ExifImageWidth - 2560 ExifImageHeight - 1920 InteroperabilityOffset - 1120 FileSource - DSC - Digital still camera CustomRendered - Normal process ExposureMode - Auto White Balance - Auto DigitalZoomRatio - 0.00 x SceneCaptureType - Standard GainControl - Low gain up Contrast - Normal Saturation - Normal Sharpness - Normal Thumbnail: - Compression - 6 (JPG) XResolution - 72 YResolution - 72 ResolutionUnit - Inch JpegIFOffset - 1246 JpegIFByteCount - 8092

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

In reply to Re^3: How to download JUST the first X bytes of HTTP response ? by BrowserUk
in thread How to download JUST the first X bytes of HTTP response ? by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.