Uploaded image for project: 'Commons Imaging'
  1. Commons Imaging
  2. IMAGING-227

Improve random access into byte source

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.0-alpha2
    • None
    • imaging.common.*
    • None

    Description

      Currently getInputStream(start) is marked as final and it reads through the stream to skip bytes.

      For specific sources such as File or URL with byte ranges it'd be more efficient to seek straight to the specified offset.

      Also it'd be useful to cache the length of a file. Especially if a ByteSourceUrl was implemented.

      I'm looking to see if commons-imaging could be improved to support efficient access to https://www.cogeo.org (Cloud optimized GeoTIFF) served from a web server.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pauldaustin Paul Austin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: