Cartographer App User and Technical Documentation
Home
User Docs
Technical Docs
Home
User Docs
Technical Docs
  • User Documentation
    • Introduction
    • Getting Started
    • User Interface
    • Actions
  • Technical Documentation
    • GitHub Authentication
    • Components

      • AppFooter Component
      • AppHeader Component
      • AppSidebar Component
      • ContentPreviewMdiv Component
      • Content Preview Measure
      • Content Preview Pane
      • ImageMismatchModal Component
      • ImageSelection Modal
      • LoadGitModal Component
      • LoadIIIFModal Component
      • LoadLocalImage Component
      • LoadXMLModal Component
      • MainMenu Component
      • MeasureModal Component
      • MdivModal Component
      • OsdComponent Component
      • PageImportModal Component
      • PagesListEntry Component
      • PagesModal Component
      • Vuex Store (src/store/index.js)
    • Store
      • Vuex Store (src/store/index.js)
    • Tools
      • IIIF Tools (src/tools/iiif.js)
      • MEI Mapping Tools (src/tools/meiMappings.js)

Tools Directory

This directory contains helper functions that support core features of the Cartographer App.

Overview

The files in this directory provide helper functions for:

  • MEI Mapping (meiMappings.js)
  • IIIF Mapping (iiif.js)
  • Local Images (localImages.js) — converts local image files into OpenSeadragon-compatible page objects and sorts them by filename. Handles TIFF containers, including TIFFs whose pixel data is stored as an embedded JPEG (it extracts the JPEG bytes and, when needed, injects the missing DQT/DHT tables from the JPEGTables tag so the browser can decode the image).
  • UUID (uuid.js) — generates RFC 4122 version 4 identifiers used for MEI element xml:ids.
Prev
Store