Skip to content

Photoshop editor version #108

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

Open
alexspevak opened this issue Apr 4, 2023 · 0 comments
Open

Photoshop editor version #108

alexspevak opened this issue Apr 4, 2023 · 0 comments

Comments

@alexspevak
Copy link
Contributor

alexspevak commented Apr 4, 2023

in our readers we will be using getDesignMeta function which will return following type:

export declare type ComponentMeta = {
  id: string
  name: string
  role: 'ARTBOARD' | 'COMPONENT'
}
export declare type PageMeta = {
  id: string
  name: string
  children: ComponentMeta[]
}
export declare type Origin = {
  name: 'FIGMA' | 'ILLUSTRATOR' | 'XD' | 'PHOTOSHOP'
  version: string
}
export declare type DesignMeta = {
  pages: PageMeta[]
  components: ComponentMeta[]
  name: string
  origin: Origin
}

type origin has field version which should show version of Photoshop. We can not determine the version at the moment from @webtoon (@opendesign/psd-ts). This would be good to implement, but there is no info in specification about this https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/
Link to pull request: #102

@alexspevak alexspevak changed the title psd version Photoshop editor version Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant