Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse EngineData #6

Closed
pastelmind opened this issue Feb 4, 2022 · 2 comments · Fixed by #43
Closed

Parse EngineData #6

pastelmind opened this issue Feb 4, 2022 · 2 comments · Fixed by #43
Assignees
Labels
type: enhancement New feature or request

Comments

@pastelmind
Copy link
Collaborator

pastelmind commented Feb 4, 2022

We got an internal request regarding the "EngineData" field of the Type Tool Object Setting structure, which encodes information about a text layer.

The Type Tool Object Setting structure is part of the Additional Layer Information record, inside the Layer and Mask Information Section of a PSD file.

PSD
  Layer and Mask Information
    Layer Info
      Layer Records
        Additional Layer Information
          Type Tool Object Setting
            text data (Descriptor classId == "TxLr")
              EngineData

The EngineData field is encoded in an undocumented format (nicknamed "EngineData format") invented by Adobe. While @webtoon/psd does not currently parse this segment, we may have to do so in the future, in order to support additional features related to text layers.

Prior work

Several PSD parsers can handle the EngineData format:

However, we MAY want to write a custom parser in TypeScript, in accordance with the Zero-Dependency design goal (see #5).

@scoiatael
Copy link
Collaborator

Hello,

I'm currently working at OpenDesign on PSD parsing. We'd love to use your library, but first, there are some features that are needed. This is one of them.

Would it be ok with you if I started implementing it or is there something I should know beforehand?

I can either create a new parser in TS, in Rust, or use the existing npmjs library - your call :)

@dlehdanakf
Copy link
Member

Hello @scoiatael,

There is nothing you need to know beforehand.

If you post a pull request, we will actively review it.
Thank you

scoiatael added a commit to opendesigndev/psd-ts that referenced this issue Jul 28, 2022
scoiatael added a commit to opendesigndev/psd-ts that referenced this issue Aug 2, 2022
pastelmind pushed a commit that referenced this issue Aug 18, 2022
alexspevak pushed a commit to opendesigndev/psd-ts that referenced this issue Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants