# blueimp/JavaScript-Load-Image

Load images provided as File or Blob objects or via URL. Retrieve an optionally scaled, cropped or rotated HTML img or canvas element. Use methods to parse image metadata to extract IPTC and Exif tags as well as embedded thumbnail images, to overwrite the Exif Orientation value and to restore the complete image header after resizing.

Repository: https://github.com/blueimp/JavaScript-Load-Image
Canonical: https://ross.abutalabs.com/products/javascript-load-image
Homepage: https://blueimp.github.io/JavaScript-Load-Image/
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2021-10-20T14:18:03+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5378, "days_push": 1778, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4456, forks 913 (observed 2026-08-28T04:08:50.614837+00:00)

## What it is
A JavaScript library that loads images from File/Blob objects or URLs and returns optionally scaled, cropped, or rotated HTML img or canvas elements. It also parses image metadata to extract Exif and IPTC tags, embedded thumbnails, and can rewrite Exif Orientation or restore image headers after resizing.

## Use cases
- load and display images from file inputs or drag-and-drop in the browser
- resize or crop uploaded images client-side before upload
- automatically fix image orientation using Exif data
- read Exif and IPTC metadata from JPEG files in JavaScript
- extract embedded thumbnail images from photos
- preserve image headers after client-side resizing

## When to choose
- you need client-side image loading, scaling, or cropping without a server
- you need to read or write Exif/IPTC metadata in the browser
- you want lightweight, dependency-free image handling with broad browser support

## When to avoid
- you need full image editing or format conversion beyond scaling/cropping/rotation
- you need server-side image processing pipelines
- you work primarily with non-JPEG formats needing rich metadata

## Facets
- artifact type: library
- maturity: maintenance
- function: image-processing, parser
- domain: image-processing, web-development, frontend
- platform: browser, cross-platform
- tags: exif, iptc, image-metadata, canvas, file-upload, image-scaling, client-side, nodejs

## Member repositories
- blueimp/JavaScript-Load-Image (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:50.614837+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:20:44.387335+00:00, confidence not recorded.
  - readme: https://github.com/blueimp/JavaScript-Load-Image (fetched 2026-08-28T04:08:50.614837+00:00, sha 13fe29203e8d)
  - homepage: https://blueimp.github.io/JavaScript-Load-Image/ (fetched 2026-08-29T09:07:54.455928+00:00, sha a212b62dec08)
- Data as of 2026-08-30T08:39:29.467469+00:00.
