8000 The value of "offset" is out of range. It must be >= 0 and <= 4524. Received 4526​​ · Issue #4 · DominikGuzei/node-ase-utils · GitHub
[go: up one dir, main page]

Skip to content
8000

The value of "offset" is out of range. It must be >= 0 and <= 4524. Received 4526​​ #4

Open

Description

@akrizs

I'm getting this error when trying to decode an .ase file saved from illustrator that has the color values store as HSB...

Saw that only the color spaces RGB, CMYK, LAB and GRAYSCALE are registered in the constants file...

Would it be time consuming for you to add the HSB space in?...

Will leave you with the Error

​​The value of "offset" is out of range. It must be >= 0 and <= 4524. Received 4526​​ at ​​​boundsError​​​ ​internal/buffer.js:55​ at ​​​Buffer.readUInt16BE​​​ ​internal/buffer.js:221​ at ​​​getChar16​​​ ​./node_modules/ase-utils/decode.js:149​ at ​​​readBlockName​​​ ​./node_modules/ase-utils/decode.js:103​ at ​​​Object.decode​​​ ​./node_modules/ase-utils/decode.js:46​ at ​​​Object.<anonymous>​​​ ​app.js:53:2​

Activity

  1. akrizs commented on Aug 30, 2018

    @akrizs
    Author

    figured out it had something to do with groups inside the swatch and nothing with the hsb value... looks like adobe cc doesn't export hsb values in swatches...

    Would be cool to be able to decode groups/folders though...

    Edit:
    Well realized again that it has nothing to do with groups/folders... sorry for the spam.
    Its related to gradients in some way or another...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0