image-js 0.35.6 → 0.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -95,7 +95,10 @@ function loadPNG(data) {
95
95
  return new _Image.default(png.width, png.height, png.data, {
96
96
  components,
97
97
  alpha,
98
- bitDepth: png.depth
98
+ bitDepth: png.depth,
99
+ meta: {
100
+ text: png.text
101
+ }
99
102
  });
100
103
  }
101
104
  function loadPNGFromPalette(png) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "image-js",
3
- "version": "0.35.6",
3
+ "version": "0.36.0",
4
4
  "description": "Image processing and manipulation in JavaScript",
5
5
  "keywords": [
6
6
  "image",
@@ -84,7 +84,7 @@
84
84
  "fast-bmp": "^2.0.1",
85
85
  "fast-jpeg": "^1.0.1",
86
86
  "fast-list": "^1.0.3",
87
- "fast-png": "^6.1.0",
87
+ "fast-png": "^6.2.0",
88
88
  "has-own": "^1.0.1",
89
89
  "image-type": "^4.1.0",
90
90
  "is-array-type": "^1.0.0",
@@ -109,6 +109,7 @@ function loadPNG(data) {
109
109
  components,
110
110
  alpha,
111
111
  bitDepth: png.depth,
112
+ meta: { text: png.text },
112
113
  });
113
114
  }
114
115