Link in Zwischenablage kopieren
Kopiert
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
Link in Zwischenablage kopieren
Kopiert
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
Link in Zwischenablage kopieren
Kopiert
Bump, wondering if you ever got the answer to your question, Davide?
Link in Zwischenablage kopieren
Kopiert
DBarranca stopped using that account. Now he uses only this one: Davide_Barranca
Link in Zwischenablage kopieren
Kopiert
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
Link in Zwischenablage kopieren
Kopiert
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.
Link in Zwischenablage kopieren
Kopiert
Link in Zwischenablage kopieren
Kopiert
Regarding retrieving pixel data, see getPixmap() and getDocumentPixmap() in: generator-core/generator.js at master · adobe-photoshop/generator-core · GitHub
Weitere Inspirationen, Events und Ressourcen finden Sie in der neuen Adobe Community
Jetzt ansehen