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

Script your first Generator Plugin with Tom Krcha

Community Expert ,
Sep 10, 2013 Sep 10, 2013

Generator is not just a way to create web assets, it is one of the first uses of the Generator technology, a node.js engine now built in Photoshop CC, starting with version 14.1

Here is a tutorial that Tom Krcha made on the topic: http://tomkrcha.com/?p=3896

TOPICS
Actions and scripting
3.5K
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
Advocate ,
Sep 12, 2013 Sep 12, 2013

Great tutorial PEC,

I'm looking forward to see what's next 😉 It's yet not clear to me whether you can get the pixel data (as some kind of bitmap object - possibly via getPixmap?) to be manipulated with JS libraries and sent back to PS. That is to say, Javascript based image processing filters. Performance aside, it would mean a lot in terms of extensibility.

Davide

www.davidebarranca.com

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
Community Expert ,
May 15, 2018 May 15, 2018

Bump, wondering if you ever got the answer to your question, Davide?

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 ,
May 15, 2018 May 15, 2018

DBarranca stopped using that account. Now he uses only this one: Davide_Barranca

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
Community Expert ,
May 22, 2018 May 22, 2018
LATEST

In the meantime, I've taught myself some Generator 🙂

I can confirm that there's no setPixmap() – I've logged that as a feature request some time ago: only getPixmap() and getDocumentPixmap(), as sidpalas said.

The Adobe Generator section of the Professional Photoshop Scripting book should cover most of what's needed to get anyone started (the chapter, which I'm editing right now, is about 40 pages and counting).

Davide

Davide Barranca - PS developer and author
www.ps-scripting.com
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 ,
May 15, 2018 May 15, 2018

That site is down, is there other link to his tutorial?

Btw, do you think it is his account: tomkrcha1

He never posted but was last seen at April, 29th '18.

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
Advocate ,
May 15, 2018 May 15, 2018
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 ,
May 16, 2018 May 16, 2018

Regarding retrieving pixel data, see getPixmap() and getDocumentPixmap() in: generator-core/generator.js at master · adobe-photoshop/generator-core · GitHub

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