ag-psd icon indicating copy to clipboard operation
ag-psd copied to clipboard

Javascript library for reading and writing PSD files

Results 56 ag-psd issues
Sort by recently updated
recently updated
newest added

```javascript import { readPsd } from 'ag-psd'; import * as fs from 'fs'; const PSD = require('psd'); let file="/Users/xiaobaozi/Downloads/模板/批量模板/模板1/主图.psd" //size≈196MB let buf=fs.readFileSync(file) console.time("ag-psd:readPsd") //@ts-ignore const psd = readPsd(buf.buffer,{ skipLayerImageData: true,...

The attached PSD contains a single empty layer. However, after reading the PSD children is undefined. Opening the file in Photoshop and adding removing layers, re-saving and attempting to parse...

After readPsd, how can one find the path information of text generated by the pen tool within a parsed text layer? Or how ascertain whether a layer has been typeset...

Could you please provide guidance on the correct method for calculating the width and height of a shape from the PSD data? Specifically, should I use the bounding box coordinates...

i want to apply simple linear gradient color on text layer. i read a issue #149 also i read Updating text layers information. ![301173543-70358427-a408-4489-870f-b7c732e794b1](https://github.com/Agamnentzar/ag-psd/assets/83505478/66d4d6ac-eb8d-4c34-99a4-860bfe6afecb) but how i can remove this...

Hello and once again, thank you for the great work with this library which helps me so much ! 😊 Working with the following file: [input.zip](https://github.com/Agamnentzar/ag-psd/files/15333065/input.zip) That looks like this...

Optical kerning is set for spacing, but the returned value is 0. Is it possible to return a different value to distinguish between optical kerning being set and the value...

If a text layer has leading spaces, the parsed **left** value ignores these spaces. If I want to fully render the text using a method similar to fillText, I need...