total5 0.0.6-3 → 0.0.6-4

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.
Files changed (2) hide show
  1. package/images.js +1 -1
  2. package/package.json +1 -1
package/images.js CHANGED
@@ -98,7 +98,7 @@ exports.measureWEBP = function(buffer) {
98
98
  var start = (extendedheader & 0xc0) === 0;
99
99
  var end = (extendedheader & 0x01) === 0;
100
100
  if (start && end)
101
- return { width: 1 + buffer.readUIntLE(7, 3), height: 1 + buffer.readUIntLE(4, 3) };
101
+ return { width: 1 + buffer.readUIntLE(4, 3), height: 1 + buffer.readUIntLE(7, 3) }
102
102
  }
103
103
 
104
104
  if (header === 'VP8 ' && buffer[0] !== 0x2f)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "total5",
3
- "version": "0.0.6-3",
3
+ "version": "0.0.6-4",
4
4
  "description": "Total.js framework v5",
5
5
  "main": "index.js",
6
6
  "directories": {