Skip to content

Releases: cmahnke/hdr-canvas

0.1.0

16 Nov 21:46

Choose a tag to compare

hdr-canvas 0.1.0

Introduction

Since the last release many areas of handling HDR contet in the browser have evolved.
Most notably is certainly the introduction of the Float16Array in the ImageData construtor:

As @reitowo pointed out, there has been a change to the getContext("2d") method. The key pixelFormat has been replaced by colorType.

In parallel threre have been changes to the UltraHDR image format, especially te encoding of gain map matadata. While this used to be don in XMP it's now done according to ISO 21496-1. This ihas been adopted by Google and Apple in newer OS versions like Android 15 and iOS 18 to avoid cross-platform fragmentation. The UltraHDR Library has already changed to ussin the ISO format as default.

Currently the ThreeJS UHDR loader doesn't know how to handle this change, see mrdoob/three.js#32293.

Key Changes & New Features

  • Better support for official Web-APIs
    • Use Float16Array instead of Uint16Array
    • Use the correct option for initializing 2D canvas context

Improved Documentation

The documentation have been greatly improved, there is now also a site including the examples and API docs.

Examples

The examples fro the blog are now part of this repository:

These example are also avalable on the new documentation site

Advocacy

Since the changes by the WhatWG weren't picked up already there had to be some Issues in the relevant repos to be raised.

Dependency Updates

  • Bump the npm group with 2 updates by @dependabot[bot] in #57
  • Bump the npm group with 2 updates by @dependabot[bot] in #58
  • Bump prettier from 3.4.0 to 3.4.1 in the npm group by @dependabot[bot] in #59
  • Bump the npm group with 4 updates by @dependabot[bot] in #60
  • Bump typescript-eslint from 8.16.0 to 8.17.0 in the npm group by @dependabot[bot] in #61
  • Bump prettier from 3.4.1 to 3.4.2 in the npm group by @dependabot[bot] in #62
  • Bump rollup from 4.28.0 to 4.28.1 in the npm group by @dependabot[bot] in #63
  • Bump typescript-eslint from 8.17.0 to 8.18.0 in the npm group by @dependabot[bot] in #64
  • Bump the npm group with 3 updates by @dependabot[bot] in #65
  • Bump typescript-eslint from 8.18.0 to 8.18.1 in the npm group by @dependabot[bot] in #66
  • Bump rollup from 4.28.1 to 4.29.1 in the npm group by @dependabot[bot] in #67
  • Bump typescript-eslint from 8.18.1 to 8.18.2 in the npm group by @dependabot[bot] in #68
  • Bump the npm group with 2 updates by @dependabot[bot] in #69
  • Bump rollup from 4.29.1 to 4.30.0 in the npm group by @dependabot[bot] in #70
  • Bump typescript-eslint from 8.19.0 to 8.19.1 in the npm group by @dependabot[bot] in #71
  • Bump rollup from 4.30.0 to 4.30.1 in the npm group by @dependabot[bot] in #72
  • Bump typescript from 5.7.2 to 5.7.3 in the npm group by @dependabot[bot] in #73
  • Bump the npm group with 2 updates by @dependabot[bot] in #74
  • Bump typescript-eslint from 8.19.1 to 8.20.0 in the npm group by @dependabot[bot] in #75
  • Bump rollup from 4.30.1 to 4.31.0 in the npm group by @dependabot[bot] in #76
  • Bump typescript-eslint from 8.20.0 to 8.21.0 in the npm group by @dependabot[bot] in #77
  • Bump rollup from 4.31.0 to 4.32.0 in the npm group by @dependabot[bot] in #78
  • Bump the npm group with 2 updates by @dependabot[bot] in #79
  • Bump the npm group with 2 updates by @dependabot[bot] in #80
  • Bump three from 0.172.0 to 0.173.0 in the npm group by @dependabot[bot] in #81
  • Bump rollup from 4.32.1 to 4.34.1 in the npm group by @dependabot[bot] in #82
  • Bump the npm group with 2 updates by @dependabot[bot] in #83
  • Bump rollup from 4.34.2 to 4.34.3 in the npm group by @dependabot[bot] in #84
  • Bump rollup from 4.34.3 to 4.34.4 in the npm group by @dependabot[bot] in #85
  • Bump rollup from 4.34.4 to 4.34.5 in the npm group by @dependabot[bot] in #86
  • Bump the npm group with 4 updates by @dependabot[bot] in #87
  • Bump typescript-eslint from 8.23.0 to 8.24.0 in the npm group by @dependabot[bot] in #88
  • Bump eslint from 9.20.0 to 9.20.1 in the npm group by @dependabot[bot] in #89
  • Bump the npm group with 2 updates by @dependabot[bot] in #90
  • Bump rollup from 4.34.7 to 4.34.8 in the npm group by @dependabot[bot] in #91
  • Bump typescript-eslint from 8.24.0 to 8.24.1 in the npm group by @dependabot[bot] in #92
  • Bump the npm group with 4 updates by @dependabot[bot] in #93
  • Bump the npm group across 1 directory with 2 updates by @dependabot[bot] in #95
  • Bump the npm group with 3 updates by @dependabot[bot] in #96
  • Bump typescript-eslint from 8.25.0 to 8.26.0 in the npm group by @dependabot[bot] in #97
  • Bump the npm group across 1 directory with 4 updates by @dependabot[bot] in #99
  • Bump @rollup/plugin-node-resolve from 16.0.0 to 16.0.1 in the npm group by @dependabot[bot] in #100
  • Bump rollup from 4.35.0 to 4.36.0 in the npm group by @dependabot[bot] in #101
  • Bump rollup-plugin-dts from 6.1.1 to 6.2.0 in the npm group by @dependabot[bot] in #102
  • Bump typescript-eslint from 8.26.1 to 8.27.0 in the npm group by @dependabot[bot] in #103
  • Bump rollup-plugin-dts from 6.2.0 to 6.2.1 in the npm group by @dependabot[bot] in #104
  • Bump the npm group with 3 updates by @dependabot[bot] in #105
  • Bump typescript-eslint from 8.27.0 to 8.28.0 in the npm group by @dependabot[bot] in #106
  • Bump the npm group with 2 updates by @dependabot[bot] in #108
  • Bump the npm group across 1 directory with 2 updates by @dependabot[bot] in #110
  • Bump the npm group with 3 updates by @dependabot[bot] in #111
  • Bump typescript-eslint from 8.29.0 to 8.29.1 in the npm group by @dependabot[bot] in #112
  • Bump rollup from 4.39.0 to 4.40.0 in the npm group by @dependabot[bot] in https://github.com/cmahnke/hd...
Read more

0.0.13

23 Nov 21:37

Choose a tag to compare

  • Removed Common JS
  • Added import tests

0.0.12

19 Nov 17:15

Choose a tag to compare

updated version

0.0.11

19 Nov 12:06

Choose a tag to compare

What's Changed

  • Bump typescript-eslint from 8.10.0 to 8.11.0 in the npm group by @dependabot in #44
  • Bump rollup from 4.24.0 to 4.24.2 in the npm group by @dependabot in #45
  • Bump typescript-eslint from 8.11.0 to 8.12.1 in the npm group by @dependabot in #46
  • Bump the npm group across 1 directory with 3 updates by @dependabot in #48
  • Bump tslib from 2.8.0 to 2.8.1 in the npm group by @dependabot in #49
  • Bump the npm group with 3 updates by @dependabot in #50
  • Bump typescript-eslint from 8.12.2 to 8.13.0 in the npm group by @dependabot in #51
  • Bump rollup from 4.24.4 to 4.25.0 in the npm group by @dependabot in #52
  • Bump typescript-eslint from 8.13.0 to 8.14.0 in the npm group by @dependabot in #53
  • Bump rollup from 4.25.0 to 4.26.0 in the npm group by @dependabot in #54
  • Bump the npm group with 3 updates by @dependabot in #55

Full Changelog: 0.0.10...0.0.11

0.0.10

21 Oct 14:33

Choose a tag to compare

Maintenance release, updated dependencies

0.0.9

19 Aug 22:49

Choose a tag to compare

Full Changelog: 0.0.8...0.0.9

0.0.8

19 Aug 22:33

Choose a tag to compare

Full Changelog: 0.0.7...0.0.8

0.0.7

19 Aug 19:09

Choose a tag to compare

Full Changelog: 0.0.6...0.0.7

0.0.6

19 Aug 18:57

Choose a tag to compare

What's Changed

  • Bump rimraf from 6.0.0 to 6.0.1 in the npm group by @dependabot in #3
  • Bump the npm group with 4 updates by @dependabot in #4
  • Bump typescript-eslint from 8.0.0-alpha.44 to 8.0.0-alpha.45 in the npm group by @dependabot in #5
  • Bump the npm group with 2 updates by @dependabot in #6
  • Bump the npm group with 2 updates by @dependabot in #7
  • Bump typescript-eslint from 8.0.0-alpha.51 to 8.0.0-alpha.52 in the npm group by @dependabot in #8
  • Bump the npm group with 2 updates by @dependabot in #9
  • Bump the npm group with 4 updates by @dependabot in #10
  • Bump typescript-eslint from 8.0.0-alpha.55 to 8.0.0-alpha.58 in the npm group by @dependabot in #11
  • Bump typescript-eslint from 8.0.0-alpha.58 to 8.0.0-alpha.60 in the npm group by @dependabot in #12
  • Bump the npm group with 3 updates by @dependabot in #13
  • Bump rollup from 4.19.2 to 4.20.0 in the npm group by @dependabot in #14
  • Bump typescript-eslint from 8.0.0 to 8.0.1 in the npm group by @dependabot in #15
  • Bump the npm group with 2 updates by @dependabot in #16
  • Bump typescript-eslint from 8.0.1 to 8.1.0 in the npm group by @dependabot in #17
  • Bump rollup from 4.20.0 to 4.21.0 in the npm group by @dependabot in #18

Full Changelog: 0.0.5...0.0.6

0.0.5

09 Jul 19:28

Choose a tag to compare

Full Changelog: 0.0.4...0.0.5