ag-psd 28.5.0 → 28.5.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## v28.5.1
4
+ - Fixed handling for `transform` property in `vectorOrigination` section
5
+
3
6
  ## v28.5.0
4
7
  - Added partial support for `pixelSource` section
5
8
  - Reworked ABR brush types
@@ -327,7 +327,7 @@ addHandler('vogk', hasKey('vectorOrigination'), function (reader, target, left)
327
327
  }
328
328
  var trnf = i.Trnf;
329
329
  if (trnf) {
330
- item.transform = [trnf.xx, trnf.xy, trnf.xy, trnf.yy, trnf.tx, trnf.ty];
330
+ item.transform = [trnf.xx, trnf.xy, trnf.yx, trnf.yy, trnf.tx, trnf.ty];
331
331
  }
332
332
  target.vectorOrigination.keyDescriptorList.push(item);
333
333
  }
package/dist/bundle.js CHANGED
@@ -706,7 +706,7 @@ addHandler('vogk', hasKey('vectorOrigination'), function (reader, target, left)
706
706
  }
707
707
  var trnf = i.Trnf;
708
708
  if (trnf) {
709
- item.transform = [trnf.xx, trnf.xy, trnf.xy, trnf.yy, trnf.tx, trnf.ty];
709
+ item.transform = [trnf.xx, trnf.xy, trnf.yx, trnf.yy, trnf.tx, trnf.ty];
710
710
  }
711
711
  target.vectorOrigination.keyDescriptorList.push(item);
712
712
  }
@@ -322,7 +322,7 @@ addHandler('vogk', hasKey('vectorOrigination'), function (reader, target, left)
322
322
  }
323
323
  var trnf = i.Trnf;
324
324
  if (trnf) {
325
- item.transform = [trnf.xx, trnf.xy, trnf.xy, trnf.yy, trnf.tx, trnf.ty];
325
+ item.transform = [trnf.xx, trnf.xy, trnf.yx, trnf.yy, trnf.tx, trnf.ty];
326
326
  }
327
327
  target.vectorOrigination.keyDescriptorList.push(item);
328
328
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ag-psd",
3
- "version": "28.5.0",
3
+ "version": "28.5.1",
4
4
  "description": "Library for reading and writing PSD files",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist-es/index.js",
@@ -442,7 +442,7 @@ addHandler(
442
442
  }
443
443
  const trnf = i.Trnf;
444
444
  if (trnf) {
445
- item.transform = [trnf.xx, trnf.xy, trnf.xy, trnf.yy, trnf.tx, trnf.ty];
445
+ item.transform = [trnf.xx, trnf.xy, trnf.yx, trnf.yy, trnf.tx, trnf.ty];
446
446
  }
447
447
 
448
448
  target.vectorOrigination.keyDescriptorList.push(item);