Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Parsing/Extracting info from Photoshop via API or SDK

Explorer ,
Sep 03, 2021 Sep 03, 2021

Hello,

 

After parsing/extracting info from the received PSDs input we want to build an HTML or convert it into a different format like JSON. 

Without having Photoshop installed, are there any APIs or SDKs by Adobe that allows extracting/parsing detailed info from PSDs? Or, are there any Adobe suggested open-source libraries, to accomplish the same?

 

Looking forward to your response

 

Thanks!

TOPICS
Actions and scripting , SDK
513
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
LEGEND ,
Sep 03, 2021 Sep 03, 2021
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 05, 2021 Sep 05, 2021

Thanks @Kukurykus for sharing  the specification, should help one deepen understanding  of the specification,

By any chance can you point to APIs or open source libraries by Adobe or non-Adobe that parses PSDs and helps one extract info from them.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 05, 2021 Sep 05, 2021

Unfortunately I don't know any.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 06, 2021 Sep 06, 2021

Adobe do not want to encourage their competitors so of course there is no PSD reading library. But they do very generously publish the specification so you can do this work. It is a lot of work, of course.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 06, 2021 Sep 06, 2021

That's understandable. However are there any APIs or sdk by Adobe? 

Certainly, reading the spec would be insightful but that would require significant amount of effort. Looking to start off with the support of existing services/libraries - than building build on my own.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 06, 2021 Sep 06, 2021
LATEST
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Sep 06, 2021 Sep 06, 2021

psd-reader

 

I have not tested, but the description is very similar to what you are looking for

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 06, 2021 Sep 06, 2021

Thanks for sharing. But looks like parsing is not supported and it is for client side use only. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines