Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-3348

Improve the workflow for extracting and returning images from PDFs and other containers using Tika Server..

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.25
    • 2.0.0-BETA
    • server
    • None

    Description

      There's a set of bumps in the road to navigate when extracting images from PDFs, retrieving them and managing the metadata using Tika Server.

      The first is knowing that /unpack will do the basic job and return the embedded objects in a zip file (presuming setExtractInlineImages is True). Documenting this clearly in the Tika Server wiki page would help people enormously.

      But processing those images after they've been extracted will either need inspecting with another tool or using /rmeta to return the mime types and the rest of the metadata.

      This means that multiple passes need to be made over the same file and the same processes of extraction, identification and temporary storage will be made over.

      The server processes of /rmeta and /unpack need to be melded. The simplest may be to generate /rmeta metadata in the _META_ file object added to the returned zip file. A more complicated but perhaps more hypermedia way would be to use Content Negotiation and indicate an Accept application/zip in the /rmeta request.

      I've indicated a Fix version of 2.0 because it is if not a breaking change a considerable one.

      I'm available for Help Wanted, if that helps.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bpluly Simon Lucy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: