diff --git a/.changeset/exif-and-thumbnails.md b/.changeset/exif-and-thumbnails.md deleted file mode 100644 index ba80bea..0000000 --- a/.changeset/exif-and-thumbnails.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@su-engineering/heic": minor ---- - -Add EXIF carry-over and embedded-thumbnail decoding. - -- `convertHeic` takes `exif: 'none' | 'all' | 'no-location'` (default `'none'`). Copied EXIF has Orientation reset to 1 and the pixel dimensions set to the output size, so viewers do not rotate the upright pixels a second time. `'no-location'` removes the GPS block and zeroes its bytes. `ConvertedImage.exif` reports what was written. -- `decodeHeicThumbnail` decodes the embedded `thmb` thumbnail with WebCodecs, and falls back to a downscaled primary when the file has none or it cannot be decoded. -- `readExif` returns the raw EXIF TIFF block. -- `planItem` and `findThumbnailItemId` are exported for advanced use. diff --git a/CHANGELOG.md b/CHANGELOG.md index ad35fe1..d218997 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## 0.3.0 + +### Minor Changes + +- 70a7ed1: Add EXIF carry-over and embedded-thumbnail decoding. + + - `convertHeic` takes `exif: 'none' | 'all' | 'no-location'` (default `'none'`). Copied EXIF has Orientation reset to 1 and the pixel dimensions set to the output size, so viewers do not rotate the upright pixels a second time. `'no-location'` removes the GPS block and zeroes its bytes. `ConvertedImage.exif` reports what was written. + - `decodeHeicThumbnail` decodes the embedded `thmb` thumbnail with WebCodecs, and falls back to a downscaled primary when the file has none or it cannot be decoded. + - `readExif` returns the raw EXIF TIFF block. + - `planItem` and `findThumbnailItemId` are exported for advanced use. + ## 0.2.0 ### Minor Changes diff --git a/package.json b/package.json index 27105fc..02d7a02 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@su-engineering/heic", - "version": "0.2.0", + "version": "0.3.0", "description": "Browser-first HEIC/HEIF decoder. Decodes Apple HEIC photos without unconditionally downloading a WebAssembly codec.", "license": "MIT", "type": "module",